Class PushServiceConfig

java.lang.Object
com.priint.pubserver.entitydata.service.PushServiceConfig
All Implemented Interfaces:
Serializable

public class PushServiceConfig extends Object implements Serializable
Configuration 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:
  • Constructor Details

    • PushServiceConfig

      public PushServiceConfig()
  • Method Details

    • getDefaultModel

      public 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(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 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(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.