public class SchemaAwareConfigConsole extends Object implements DatabaseConfigConsole
DatabaseConfigConsoleImpl
DatabaseConfigConsoleImpl
Constructor and Description |
---|
SchemaAwareConfigConsole(DatabaseType databaseType) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
DatabaseType |
getDatabaseType() |
ConfigField[] |
getFields() |
String |
getInstanceName() |
String |
getPassword() |
String |
getSchemaName() |
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 SchemaAwareConfigConsole(DatabaseType databaseType)
public ConfigField[] getFields()
getFields
in interface DatabaseConfigConsole
public void setSettings(Settings settings) throws ParseException
setSettings
in interface DatabaseConfigConsole
ParseException
public void saveSettings(Settings newSettings) throws ValidationException
ConnectionConfig
saveSettings
in interface ConnectionConfig
newSettings
- Settings object to copy the settings into.ValidationException
public String getInstanceName()
getInstanceName
in interface DatabaseConfigConsole
public DatabaseType getDatabaseType()
getDatabaseType
in interface ConnectionConfig
getDatabaseType
in interface DatabaseConfigConsole
public void testConnection() throws ClassNotFoundException, SQLException, ValidationException
testConnection
in interface ConnectionConfig
ClassNotFoundException
SQLException
ValidationException
public String getUsername()
getUsername
in interface ConnectionConfig
public String getPassword()
getPassword
in interface ConnectionConfig
public String getUrl() throws ValidationException
getUrl
in interface ConnectionConfig
ValidationException
public String getClassName()
getClassName
in interface ConnectionConfig
public String getSchemaName()
Copyright © 2002-2022 Atlassian. All Rights Reserved.