com.atlassian.jira.config.database.DatabaseConfigurationLoader |
Known Indirect Subclasses
AbstractJiraHomeDatabaseConfigurationLoader,
JiraHomeDatabaseConfigurationLoader,
SystemDatabaseConfigurationLoader
|
DatabaseConfigurationLoader is responsible for loading and persisting database configuration from and to the home directory.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true only if the database configuration file already exists in the JIRA home directory.
| |||||||||||
Reads and deserialises the
DatabaseConfig from its permanent store. | |||||||||||
Serialises and persists the given config to its permanent store.
|
Returns true only if the database configuration file already exists in the JIRA home directory.
Reads and deserialises the DatabaseConfig
from its permanent store.
RuntimeIOException | if the config cannot be loaded due to a missing file or bad permissions. |
---|---|
RuntimeException | if the config cannot be loaded for example due to a corrupt file format. |
Serialises and persists the given config to its permanent store.
config | the config to store. |
---|
RuntimeIOException | if there was some IO problem saving. |
---|