public class SchemaAwareConfigConsole extends Object implements DatabaseConfigConsole
DatabaseConfigConsoleImplDatabaseConfigConsoleImpl| 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 DatabaseConfigConsolepublic void setSettings(Settings settings) throws ParseException
setSettings in interface DatabaseConfigConsoleParseExceptionpublic void saveSettings(Settings newSettings) throws ValidationException
ConnectionConfigsaveSettings in interface ConnectionConfignewSettings - Settings object to copy the settings into.ValidationExceptionpublic String getInstanceName()
getInstanceName in interface DatabaseConfigConsolepublic DatabaseType getDatabaseType()
getDatabaseType in interface ConnectionConfiggetDatabaseType in interface DatabaseConfigConsolepublic void testConnection()
throws ClassNotFoundException,
SQLException,
ValidationException
testConnection in interface ConnectionConfigClassNotFoundExceptionSQLExceptionValidationExceptionpublic String getUsername()
getUsername in interface ConnectionConfigpublic String getPassword()
getPassword in interface ConnectionConfigpublic String getUrl() throws ValidationException
getUrl in interface ConnectionConfigValidationExceptionpublic String getClassName()
getClassName in interface ConnectionConfigpublic String getSchemaName()
Copyright © 2002-2022 Atlassian. All Rights Reserved.