Class H2ConfigPanel
java.lang.Object
com.atlassian.jira.configurator.db.DatabaseConfigPanel
com.atlassian.jira.configurator.db.H2ConfigPanel
-
Field Summary
Fields inherited from class com.atlassian.jira.configurator.db.DatabaseConfigPanel
TEXT_FIELD_COLUMNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPanel()For DB's that want to allow entity-engine to set a schema-name, this will return the user's selected Schema-nameReturns the JDBC URL for this DB config.voidsetSettings(Settings settings) voidtestConnection(String jiraHome) voidvalidate()Verify that the settings are valid.Methods inherited from class com.atlassian.jira.configurator.db.DatabaseConfigPanel
getClassName, getDatabaseType, getDisplayName, saveSettings, toString
-
Constructor Details
-
H2ConfigPanel
public H2ConfigPanel()
-
-
Method Details
-
validate
Description copied from class:DatabaseConfigPanelVerify that the settings are valid.- Specified by:
validatein classDatabaseConfigPanel- Throws:
ValidationException- if any config is invalid.
-
getUrl
Description copied from class:DatabaseConfigPanelReturns the JDBC URL for this DB config.The current jira-home is passed because it used by H2.
- Specified by:
getUrlin classDatabaseConfigPanel- Parameters:
jiraHome- The current configured jira-home- Returns:
- the JDBC URL for this DB config.
-
getUsername
- Specified by:
getUsernamein classDatabaseConfigPanel
-
getPassword
- Specified by:
getPasswordin classDatabaseConfigPanel
-
getSchemaName
Description copied from class:DatabaseConfigPanelFor DB's that want to allow entity-engine to set a schema-name, this will return the user's selected Schema-name- Specified by:
getSchemaNamein classDatabaseConfigPanel- Returns:
- the user's selected Schema-name
-
getPanel
- Specified by:
getPanelin classDatabaseConfigPanel
-
setSettings
- Specified by:
setSettingsin classDatabaseConfigPanel- Throws:
ParseException
-
testConnection
- Overrides:
testConnectionin classDatabaseConfigPanel
-