Class H2ConfigConsole
java.lang.Object
com.atlassian.jira.configurator.db.H2ConfigConsole
- All Implemented Interfaces:
ConnectionConfig
,DatabaseConfigConsole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
void
saveSettings
(Settings newSettings) Saves the settings in this ConnectionConfig into the given Settings object.void
setSettings
(Settings settings) void
-
Constructor Details
-
H2ConfigConsole
public H2ConfigConsole()
-
-
Method Details
-
getDatabaseType
- Specified by:
getDatabaseType
in interfaceConnectionConfig
- Specified by:
getDatabaseType
in interfaceDatabaseConfigConsole
-
getClassName
- Specified by:
getClassName
in interfaceConnectionConfig
-
getUsername
- Specified by:
getUsername
in interfaceConnectionConfig
-
getPassword
- Specified by:
getPassword
in interfaceConnectionConfig
-
getFields
- Specified by:
getFields
in interfaceDatabaseConfigConsole
-
setSettings
- Specified by:
setSettings
in interfaceDatabaseConfigConsole
- Throws:
ParseException
-
getInstanceName
- Specified by:
getInstanceName
in interfaceDatabaseConfigConsole
-
saveSettings
Description copied from interface:ConnectionConfig
Saves the settings in this ConnectionConfig into the given Settings object.- Specified by:
saveSettings
in interfaceConnectionConfig
- Parameters:
newSettings
- Settings object to copy the settings into.- Throws:
ValidationException
-
testConnection
public void testConnection()- Specified by:
testConnection
in interfaceConnectionConfig
-
getUrl
- Specified by:
getUrl
in interfaceConnectionConfig
-