public class SettingsLoader extends Object
| Constructor and Description |
|---|
SettingsLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Settings |
loadCurrentSettings() |
static Settings |
reloadDbConfig(String jiraHome)
Used to reload DB Config after the user changes the jira-home.
|
static void |
saveSettings(Settings newSettings)
Saves the user's new settings back to the required files
|
public static Settings loadCurrentSettings() throws ParserConfigurationException, IOException, SAXException, ParseException
public static void saveSettings(Settings newSettings) throws IOException, ParseException
newSettings - The new settings to saveIOException - If any errors occur.ParseException - if processing of the xml file failedpublic static Settings reloadDbConfig(String jiraHome) throws IOException
jiraHome - the new jira-homeIOException - if an error occurrs while reading or parsing the dbconfig file.Copyright © 2002-2018 Atlassian. All Rights Reserved.