public class H2ConfigConsole extends Object implements DatabaseConfigConsole
Constructor and Description |
---|
H2ConfigConsole() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
String |
getDatabaseType() |
ConfigField[] |
getFields() |
String |
getInstanceName() |
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
void |
saveSettings(Settings newSettings)
Saves the settings in this ConnectionConfig into the given Settings object.
|
void |
setSettings(Settings settings) |
void |
testConnection() |
public String getDatabaseType()
getDatabaseType
in interface DatabaseConfigConsole
public String getClassName()
getClassName
in interface ConnectionConfig
public String getUsername()
getUsername
in interface ConnectionConfig
public String getPassword()
getPassword
in interface ConnectionConfig
public ConfigField[] getFields()
getFields
in interface DatabaseConfigConsole
public void setSettings(Settings settings) throws ParseException
setSettings
in interface DatabaseConfigConsole
ParseException
public String getInstanceName()
getInstanceName
in interface DatabaseConfigConsole
public void saveSettings(Settings newSettings) throws ValidationException
ConnectionConfig
saveSettings
in interface ConnectionConfig
newSettings
- Settings object to copy the settings into.ValidationException
public void testConnection()
testConnection
in interface ConnectionConfig
public String getUrl()
getUrl
in interface ConnectionConfig
Copyright © 2002-2017 Atlassian. All Rights Reserved.