Class PersistorConfiguration
- java.lang.Object
-
- com.caplin.transformer.persistence.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 optionjava.lang.String[]
getExtraParams()
Get the value of the extra-params config optionjava.lang.String
getInitString()
Get the value of the init-string config optionjava.lang.String
getPassword()
Get the value of the password config optionjava.lang.String
getUsername()
Get the value of the username config optionjava.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
-