Class 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 Detail

      • DBHost

        public DBHost()
    • Method Detail

      • 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 the dependencies 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()
      • 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.
      • getChildren

        public java.util.Vector<DBHostable> getChildren()
        The actions to be executed on the server, like the RunSQLScript action.