Class Overview
Loads current settings from the relevant files.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
static
Settings
loadCurrentSettings
()
public
static
Settings
reloadDbConfig
(String jiraHome)
Used to reload DB Config after the user changes the jira-home.
Parameters
jiraHome
| the new jira-home |
Returns
- the new DB Settings (other settings will be blank)
Throws
IOException
| if an error occurrs while reading or parsing the dbconfig file.
|
public
static
void
saveSettings
(Settings newSettings)
Saves the user's new settings back to the required files
Parameters
newSettings
| The new settings to save |