Class PersistorConfiguration


  • public class PersistorConfiguration
    extends java.lang.Object

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

    • Constructor Summary

      Constructors 
      Constructor Description
      PersistorConfiguration​(java.lang.String initString, java.lang.String driverName, java.lang.String username, java.lang.String password, java.lang.String[] extraParams)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDriverName()
      Get the value of the driver-name config option
      java.lang.String[] getExtraParams()
      Get the value of the extra-params config option
      java.lang.String getInitString()
      Get the value of the init-string config option
      java.lang.String getPassword()
      Get the value of the password config option
      java.lang.String getUsername()
      Get the value of the username config option
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistorConfiguration

        public PersistorConfiguration​(java.lang.String initString,
                                      java.lang.String driverName,
                                      java.lang.String username,
                                      java.lang.String password,
                                      java.lang.String[] extraParams)
    • Method Detail

      • getInitString

        public java.lang.String getInitString()

        Get the value of the init-string config option

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

        public java.lang.String getDriverName()

        Get the value of the driver-name config option

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

        public java.lang.String getUsername()

        Get the value of the username config option

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

        public java.lang.String getPassword()

        Get the value of the password config option

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

        public java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object