Class ChooseDBConnectionConsole

  • All Implemented Interfaces:
    Referenceable

    public final class ChooseDBConnectionConsole
    extends Action
    Displays the console panel which allows developers to have the end user provide the DB server settings that will be used to run sql scripts on DB's supported by Installanywhere.

    Developers can specify the DB server related parameters that the DB selected requires, and the console will set and run the SQl scripts on intended DB's during install and uninstall phases.
    Author:
    sudeep
    • Constructor Detail

      • ChooseDBConnectionConsole

        public ChooseDBConnectionConsole()
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Returns the title of the panel.
      • setTitle

        public void setTitle​(java.lang.String title)
        Defines the title of the panel. Default is "Choose Database Connection".
      • setDescription

        public void setDescription​(java.lang.String desc)
        Defines the panel's description to display. Default is "Provide database configuration details and authentication"
      • getDescription

        public java.lang.String getDescription()
        Returns the panel's description to display.
      • getServerHost

        public java.lang.String getServerHost()
        gets the server host variable
        Returns:
        the serverHost
      • setServerHost

        public void setServerHost​(java.lang.String serverHost)
        sets the server host variable to execute sql scripts on selected database server type
        Parameters:
        serverHost - the serverHost to set
      • getServerPort

        public java.lang.String getServerPort()
        gets the server port variable
        Returns:
        the serverPort
      • setServerPort

        public void setServerPort​(java.lang.String serverPort)
        sets the server port variable to execute sql scripts on selected database server type
        Parameters:
        serverPort - the serverPort to set
      • getDBNameOrSIDName

        public java.lang.String getDBNameOrSIDName()
        gets the database/sid name variable
        Returns:
        the dbName
      • setDBNameOrSIDName

        public void setDBNameOrSIDName​(java.lang.String dbName)
        sets the database/sid name variable to execute sql scripts on selected database server type
        Parameters:
        dbName - the dbName to set
      • getUsername

        public java.lang.String getUsername()
        gets the username variable
        Returns:
        the username
      • setUsername

        public void setUsername​(java.lang.String username)
        sets the username variable to execute sql scripts on selected database server type
        Parameters:
        username - the username to set
      • getPassword

        public java.lang.String getPassword()
        gets the password variable
        Returns:
        the password
      • setPassword

        public void setPassword​(java.lang.String password)
        sets the password variable to execute sql scripts on selected database server type
        Parameters:
        password - the password to set
      • isPerformTestConnectionOnClickingNext

        public boolean isPerformTestConnectionOnClickingNext()
        Performs the Test Connection action
        Returns:
      • setPerformTestConnectionOnClickingNext

        public void setPerformTestConnectionOnClickingNext​(boolean performTestConnectionOnClickingNext)
        Performs the Test Connection action, if set to true
        Parameters:
        performTestConnection -
      • getDbDriverType

        public java.lang.String getDbDriverType()
        Returns the Database driver type
        Returns:
      • setDbDriverType

        public void setDbDriverType​(java.lang.String dbDriverType)
        Allows to set the Database driver type to test database connectivity. Possible values can be MySQL.SERVER_NAME, Oracle.SERVER_NAME, MSSQL.SERVER_NAME, DB2.SERVER_NAME, Postgres.SERVER_NAME and Generic JDBC Connection.
        Parameters:
        dbDriverType -