Class SchemaAwareConfigConsole
java.lang.Object
com.atlassian.jira.configurator.db.SchemaAwareConfigConsole
- All Implemented Interfaces:
ConnectionConfig
,DatabaseConfigConsole
This class is used for setting up a Postgres configuration in Db Config Tool triggered in the text mode.
It adds a new parameter to a Postgres configuration - "schema name". This class is not thread safe same as the whole db configuration tool
implementation including
DatabaseConfigConsoleImpl
- Author:
- pfarid
- See Also:
-
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
-
SchemaAwareConfigConsole
-
-
Method Details
-
getFields
- Specified by:
getFields
in interfaceDatabaseConfigConsole
-
setSettings
- Specified by:
setSettings
in interfaceDatabaseConfigConsole
- Throws:
ParseException
-
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
-
getInstanceName
- Specified by:
getInstanceName
in interfaceDatabaseConfigConsole
-
getDatabaseType
- Specified by:
getDatabaseType
in interfaceConnectionConfig
- Specified by:
getDatabaseType
in interfaceDatabaseConfigConsole
-
testConnection
- Specified by:
testConnection
in interfaceConnectionConfig
- Throws:
ClassNotFoundException
SQLException
ValidationException
-
getUsername
- Specified by:
getUsername
in interfaceConnectionConfig
-
getPassword
- Specified by:
getPassword
in interfaceConnectionConfig
-
getUrl
- Specified by:
getUrl
in interfaceConnectionConfig
- Throws:
ValidationException
-
getClassName
- Specified by:
getClassName
in interfaceConnectionConfig
-
getSchemaName
-