java.lang.Object |
↳ |
com.atlassian.jira.config.database.AbstractJiraHomeDatabaseConfigurationLoader |
Known Direct Subclasses
|
Class Overview
Base implementation of DatabaseConfigurationLoader for loading Database Configuration from jira-home.
Constants
public
static
final
String
FILENAME_DBCONFIG
Constant Value:
"dbconfig.xml"
Public Constructors
public
AbstractJiraHomeDatabaseConfigurationLoader
()
Public Methods
public
boolean
configExists
()
Returns true only if the database configuration file already exists in the JIRA home directory.
Returns
- whether the config file exists.
public
DatabaseConfig
loadDatabaseConfiguration
()
Returns
- the database configuration.
public
void
saveDatabaseConfiguration
(DatabaseConfig config)
Serialises and persists the given config to its permanent store.
Parameters
config
| the config to store. |
Protected Methods
protected
abstract
String
getJiraHome
()
protected
abstract
void
logInfo
(String message)