Package com.zerog.ia.auto.project
Class DBHost
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.DBHost
-
- All Implemented Interfaces:
Referenceable
public final class DBHost extends InstallableObject
Defines the information needed to access database servers like MySQL, Oracle, MS SQL Server, DB2, and several others. It also contains the actions to be executed on the specified server.
-
-
Constructor Summary
Constructors Constructor Description DBHost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAuthenticate()
Whether or not authentication is required.java.util.Vector<DBHostable>
getChildren()
The actions to be executed on the server, like theRunSQLScript
action.java.lang.String
getCustomConnectionString()
The custom connection string to use when the serverType is GENERIC_JDBC.boolean
getCustomDriverSettings()
Whether or not to use custom driver settings.java.lang.String
getDbHostName()
The name of the database with which the installer should interact.java.util.Vector<DependencyProperty>
getDependencies()
The list of dependencies which the action should use to find the JDBC driver class and its dependencies.java.lang.String
getJdbcDriverClass()
The JDBC driver class to use to interact with the database server.
The class should be available on the installer classpath.DBServerType
getServerType()
The type of database server with which the installer must interact.void
setAuthenticate(boolean Authenticate)
Whether or not authentication is required.void
setCustomConnectionString(java.lang.String customConnectionString)
The custom connection string to use when the serverType is GENERIC_JDBC.void
setCustomDriverSettings(boolean customDriverSettings)
Whether or not to use custom driver settings.void
setDbHostName(java.lang.String dbHostName)
The name of the database with which the installer should interact.void
setDependencies(java.util.Vector<DependencyProperty> dependencies)
The list of dependencies which the action should use to find the JDBC driver class and its dependencies.void
setJdbcDriverClass(java.lang.String jdbcDriverClass)
The JDBC driver class to use to interact with the database server.
The class should be available on the installer classpath.void
setServerType(DBServerType ServerType)
The type of database server with which the installer must interact.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
setJdbcDriverClass
public void setJdbcDriverClass(java.lang.String jdbcDriverClass)
The JDBC driver class to use to interact with the database server.
The class should be available on the installer classpath. To define the dependency libraries for this action, use thedependencies
property.
-
getJdbcDriverClass
public java.lang.String getJdbcDriverClass()
The JDBC driver class to use to interact with the database server.
The class should be available on the installer classpath. To define the dependency libraries for this action, use thedependencies
property.
- See Also:
getDependencies()
-
getCustomConnectionString
public java.lang.String getCustomConnectionString()
The custom connection string to use when the serverType is GENERIC_JDBC.- See Also:
getServerType()
-
setCustomConnectionString
public void setCustomConnectionString(java.lang.String customConnectionString)
The custom connection string to use when the serverType is GENERIC_JDBC.
-
getDependencies
public java.util.Vector<DependencyProperty> getDependencies()
The list of dependencies which the action should use to find the JDBC driver class and its dependencies.
-
setDependencies
public void setDependencies(java.util.Vector<DependencyProperty> dependencies)
The list of dependencies which the action should use to find the JDBC driver class and its dependencies.
-
getCustomDriverSettings
public boolean getCustomDriverSettings()
Whether or not to use custom driver settings. Default to true.
-
setCustomDriverSettings
public void setCustomDriverSettings(boolean customDriverSettings)
Whether or not to use custom driver settings. Default to true.
-
getDbHostName
public java.lang.String getDbHostName()
The name of the database with which the installer should interact.
-
setDbHostName
public void setDbHostName(java.lang.String dbHostName)
The name of the database with which the installer should interact.
-
getAuthenticate
public boolean getAuthenticate()
Whether or not authentication is required.
-
setAuthenticate
public void setAuthenticate(boolean Authenticate)
Whether or not authentication is required.
-
getServerType
public DBServerType getServerType()
The type of database server with which the installer must interact.
-
setServerType
public void setServerType(DBServerType ServerType)
The type of database server with which the installer must interact.
-
getChildren
public java.util.Vector<DBHostable> getChildren()
The actions to be executed on the server, like theRunSQLScript
action.
-
-