com.atlassian.jira.configurator.db
Class PostgresConfigPanel

java.lang.Object
  extended by com.atlassian.jira.configurator.db.DatabaseConfigPanel
      extended by com.atlassian.jira.configurator.db.CommonConfigPanel
          extended by com.atlassian.jira.configurator.db.PostgresConfigPanel

public class PostgresConfigPanel
extends CommonConfigPanel


Field Summary
 
Fields inherited from class com.atlassian.jira.configurator.db.CommonConfigPanel
tfHostname, tfPassword, tfPort, tfUsername
 
Fields inherited from class com.atlassian.jira.configurator.db.DatabaseConfigPanel
TEXT_FIELD_COLUMNS
 
Constructor Summary
PostgresConfigPanel()
           
 
Method Summary
protected  JPanel buildConfigPanel()
           
 String getDisplayName()
           
protected  String getHostname()
           
protected  String getInstance()
           
protected  String getPort()
           
 String getSchemaName()
          For DB's that want to allow entity-engine to set a schema-name, this will return the user's selected Schema-name
protected  void setSchemaName(String schemaName)
           
protected  void setUrlSettings(DatabaseInstance connectionProperties)
           
 void validate()
          Verify that the settings are valid.
 
Methods inherited from class com.atlassian.jira.configurator.db.CommonConfigPanel
getClassName, getPanel, getPassword, getUrl, getUsername, setSettings
 
Methods inherited from class com.atlassian.jira.configurator.db.DatabaseConfigPanel
saveSettings, testConnection, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostgresConfigPanel

public PostgresConfigPanel()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class DatabaseConfigPanel

getSchemaName

public String getSchemaName()
Description copied from class: DatabaseConfigPanel
For DB's that want to allow entity-engine to set a schema-name, this will return the user's selected Schema-name

Specified by:
getSchemaName in class DatabaseConfigPanel
Returns:
the user's selected Schema-name

buildConfigPanel

protected JPanel buildConfigPanel()
Specified by:
buildConfigPanel in class CommonConfigPanel

setUrlSettings

protected void setUrlSettings(DatabaseInstance connectionProperties)
                       throws ParseException
Specified by:
setUrlSettings in class CommonConfigPanel
Throws:
ParseException

setSchemaName

protected void setSchemaName(String schemaName)
Specified by:
setSchemaName in class CommonConfigPanel

validate

public void validate()
              throws ValidationException
Description copied from class: DatabaseConfigPanel
Verify that the settings are valid.

Overrides:
validate in class CommonConfigPanel
Throws:
ValidationException - if any config is invalid.

getHostname

protected String getHostname()
Specified by:
getHostname in class CommonConfigPanel

getPort

protected String getPort()
Specified by:
getPort in class CommonConfigPanel

getInstance

protected String getInstance()
Specified by:
getInstance in class CommonConfigPanel


Copyright © 2002-2014 Atlassian. All Rights Reserved.