Class PersistorConfiguration

java.lang.Object
com.caplin.transformer.persistence.PersistorConfiguration

public class PersistorConfiguration extends Object

Configuration object representing Transformers persistence.conf add-database-params entry

  • Constructor Details

    • PersistorConfiguration

      public PersistorConfiguration(String initString, String driverName, String username, String password, String[] extraParams)
  • Method Details

    • getInitString

      public String getInitString()

      Get the value of the init-string config option

      Returns:
      Value of 'add-database-params.init-string' config option
    • getDriverName

      public String getDriverName()

      Get the value of the driver-name config option

      Returns:
      Value of 'add-database-params.driver-name' config option
    • getUsername

      public String getUsername()

      Get the value of the username config option

      Returns:
      Value of 'add-database-params.username' config option
    • getPassword

      public String getPassword()

      Get the value of the password config option

      Returns:
      Value of 'add-database-params.password' config option
    • getExtraParams

      public String[] getExtraParams()

      Get the value of the extra-params config option

      Returns:
      Array containing all the values of 'add-database-params.extra-params' config option. Never null
    • toString

      public String toString()
      Overrides:
      toString in class Object