Class PushServiceConfig
- All Implemented Interfaces:
Serializable
This will set defaults for "model" and "instance" arguments.
Executing the main method of this class will create an example configuration on the command line. It will also provide the preferred file location in the repository.
- Since:
- 4.0.5
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default connector instance.Returns the default model.voidsetDefaultInstance(String defaultInstance) Sets the default connector instance.voidsetDefaultModel(String defaultModel) Sets the default model.
-
Constructor Details
-
PushServiceConfig
public PushServiceConfig()
-
-
Method Details
-
getDefaultModel
Returns the default model.This method retrieves the name of the default model that will be used if no model is explicitly set in the PushData class.
- Returns:
- The name of the default model.
-
setDefaultModel
Sets the default model.This method assigns the specified model to be used as the default if no model is explicitly set in the PushData class.
- Parameters:
defaultModel- The name of the default model.
-
getDefaultInstance
Returns the default connector instance.This method retrieves the name of the default connector instance that will be used if no instance is explicitly set in the PushData class.
- Returns:
- The name of the default connector instance.
-
setDefaultInstance
Sets the default connector instance.This method assigns the specified connector instance to be used as the default if no instance is explicitly set in the PushData class.
- Parameters:
defaultInstance- The name of the default connector instance.
-