public class H2ConfigPanel extends DatabaseConfigPanel
TEXT_FIELD_COLUMNS
Constructor and Description |
---|
H2ConfigPanel() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
String |
getDisplayName() |
JPanel |
getPanel() |
String |
getPassword() |
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
|
String |
getUrl(String jiraHome)
Returns the JDBC URL for this DB config.
|
String |
getUsername() |
void |
setSettings(Settings settings) |
void |
testConnection(String jiraHome) |
void |
validate()
Verify that the settings are valid.
|
getDatabaseType, saveSettings, toString
public void validate() throws ValidationException
DatabaseConfigPanel
validate
in class DatabaseConfigPanel
ValidationException
- if any config is invalid.public String getDisplayName()
getDisplayName
in class DatabaseConfigPanel
public String getClassName()
getClassName
in class DatabaseConfigPanel
public String getUrl(String jiraHome)
DatabaseConfigPanel
The current jira-home is passed because it used by H2.
getUrl
in class DatabaseConfigPanel
jiraHome
- The current configured jira-homepublic String getUsername()
getUsername
in class DatabaseConfigPanel
public String getPassword()
getPassword
in class DatabaseConfigPanel
public String getSchemaName()
DatabaseConfigPanel
getSchemaName
in class DatabaseConfigPanel
public JPanel getPanel()
getPanel
in class DatabaseConfigPanel
public void setSettings(Settings settings) throws ParseException
setSettings
in class DatabaseConfigPanel
ParseException
public void testConnection(String jiraHome)
testConnection
in class DatabaseConfigPanel
Copyright © 2002-2019 Atlassian. All Rights Reserved.