|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.persister.xstream.XStreamAdminConfigPersister
public class XStreamAdminConfigPersister
Provides an XStream implemantation of AdministrationConfiguration
.
Constructor Summary | |
---|---|
XStreamAdminConfigPersister(java.lang.String configurationDirectory)
Create a persister to load and store AdministrationConfiguration objects in the
given myConfigurationDirectory directory. |
Method Summary | |
---|---|
protected boolean |
isSetupComplete()
|
AdministrationConfiguration |
loadConfiguation()
Load the AdministrationConfiguration from the myConfigurationDirectory. |
void |
saveConfiguration(AdministrationConfiguration administrationConfiguration)
Save the given administrationConfiguration in the myConfigurationDirectory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XStreamAdminConfigPersister(java.lang.String configurationDirectory)
AdministrationConfiguration
objects in the
given myConfigurationDirectory directory.
configurationDirectory
- The location of the persisted objectsMethod Detail |
---|
public AdministrationConfiguration loadConfiguation() throws PersisterException
AdministrationConfiguration
from the myConfigurationDirectory.
loadConfiguation
in interface AdministrationConfigurationPersister
PersisterException
- Could not load the configuration file.public void saveConfiguration(AdministrationConfiguration administrationConfiguration) throws PersisterException
saveConfiguration
in interface AdministrationConfigurationPersister
administrationConfiguration
- The object to save
PersisterException
- Could not save the configuration file.protected boolean isSetupComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |