Class ChooseDBConnectionPanel

  • All Implemented Interfaces:
    Referenceable

    public final class ChooseDBConnectionPanel
    extends InstallPanelAction
    * Displays the gui 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 panel will set and run the SQl scripts on intended DB's during install and uninstall phases.
    Author:
    sudeep
    • Constructor Detail

      • ChooseDBConnectionPanel

        public ChooseDBConnectionPanel()
    • Method Detail

      • getTitle

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

        public void setTitle​(java.lang.String t)
        sets the title of the panel
      • getDescription

        public java.lang.String getDescription()
        gets the product features panel title
      • setDescription

        public void setDescription​(java.lang.String desc)
        sets the product features panel title
      • 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
      • isIncludeTestConnectionButton

        public boolean isIncludeTestConnectionButton()
        Controls if the Test Connection button is displayed on the panel
        Returns:
      • setIncludeTestConnectionButton

        public void setIncludeTestConnectionButton​(boolean includeTestConnectionButton)
        Controlls if the Test Connection button is displayed on the panel
        Parameters:
        includeTestConnectionButton -
      • 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 -
      • isIncludeDatabaseEmptyCheck

        public boolean isIncludeDatabaseEmptyCheck()
        Returns whether database empty check is required
        Returns:
      • setIncludeDatabaseEmptyCheck

        public void setIncludeDatabaseEmptyCheck​(boolean includeDatabaseEmptyCheck)
        Perform database empty check if set to true
      • 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 -