Class PushServiceConfig
- java.lang.Object
-
- com.priint.pubserver.entitydata.service.PushServiceConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class PushServiceConfig extends java.lang.Object implements java.io.SerializableConfiguration class for RESTful service interface for persist interface of PublishingHubDB connector.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushServiceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultInstance()Returns the default connector instance.java.lang.StringgetDefaultModel()Returns the default model.voidsetDefaultInstance(java.lang.String defaultInstance)Sets the default connector instance.voidsetDefaultModel(java.lang.String defaultModel)Sets the default model.
-
-
-
Method Detail
-
getDefaultModel
public java.lang.String 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
public void setDefaultModel(java.lang.String defaultModel)
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
public java.lang.String 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
public void setDefaultInstance(java.lang.String defaultInstance)
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.
-
-