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.
 org.apache.maven.shared.app.configuration.Configuration getConfiguration()
          Get the configuration from the store.
 void save(org.apache.maven.shared.app.configuration.Configuration configuration)
          Save the configuration to the registry.
 

Method Detail

getConfiguration

org.apache.maven.shared.app.configuration.Configuration getConfiguration()
Get the configuration from the store. A cached version may be used.

Returns:
the configuration

save

void save(org.apache.maven.shared.app.configuration.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


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.