Programmer : Mashup Programmer : About the Administration API : Administration Methods
 
Administration Methods
Here is a list of the administration methods available:
Method
Description
void saveConfiguration(Object configuration)
Saves a configuration object to the staging area. You only need to provide a configuration object as configuration classes are naturally tied to a filename.
Object getConfiguration(Class configurationClass)
Retrieves the last version of a given configuration class, from the staging area. If there are no staged configurations available, the latest applied configuration is returned.
void resetConfiguration(Class configurationClass)
Removes the staged instance of the given configuration class to cancel changes.
boolean hasStagedConfiguration(Class configurationClass)
Returns true if an instance of this configuration class is stored in the staging area.
ApplyStagingConfigurationAnswer applyStagingConfiguration()
Applies all the staged configuration files.
ApplyStagingConfigurationAnswer applyStagingConfiguration(List<Class> confClasses)
Applies only the given staged configuration files.
void checkStagingConfiguration()
Runs a full configuration consistency check towards the staged configuration.
void generateCloudViewConfiguration()
Enforces the evaluation of the Data Ontology to generate and apply the underlying Mashup Builder configuration.