com.atlassian.bamboo.persister
Interface AdministrationConfigurationPersister

All Known Implementing Classes:
XStreamAdminConfigPersister

public interface AdministrationConfigurationPersister

Provides an abstraction for persisting administration configurtion data.


Method Summary
 AdministrationConfiguration loadConfiguation()
          Load the AdministrationConfiguration from the configurationDirectory.
 void saveConfiguration(AdministrationConfiguration administrationConfiguration)
          Save the given administrationConfiguration in the configurationDirectory.
 

Method Detail

loadConfiguation

AdministrationConfiguration loadConfiguation()
                                             throws PersisterException
Load the AdministrationConfiguration from the configurationDirectory.

Returns:
The loaded object. An empty one if there is no saved object
Throws:
PersisterException - Generic failure

saveConfiguration

void saveConfiguration(AdministrationConfiguration administrationConfiguration)
                       throws PersisterException
Save the given administrationConfiguration in the configurationDirectory.

Parameters:
administrationConfiguration - The object to save
Throws:
PersisterException - Generic failure


Copyright © 2010 Atlassian. All Rights Reserved.