org.apache.maven.shared.app.configuration
Interface MavenAppConfiguration

All Known Implementing Classes:
DefaultMavenAppConfiguration

public interface MavenAppConfiguration

A component for loading the configuration into the model.

Author:
Brett Porter

Method Summary
 void addChangeListener(org.codehaus.plexus.registry.RegistryListener listener)
          Add a configuration change listener.
 Configuration getConfiguration()
          Get the configuration from the store.
 void save(Configuration configuration)
          Save the configuration to the registry.
 

Method Detail

getConfiguration

Configuration getConfiguration()
Get the configuration from the store. A cached version may be used.

Returns:
the configuration

save

void save(Configuration configuration)
          throws org.codehaus.plexus.registry.RegistryException
Save the configuration to the registry.

Parameters:
configuration - the configuration to store
Throws:
org.codehaus.plexus.registry.RegistryException

addChangeListener

void addChangeListener(org.codehaus.plexus.registry.RegistryListener listener)
Add a configuration change listener.

Parameters:
listener - the listener