|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchivaConfiguration
Configuration holder for the model read from the registry.
Method Summary | |
---|---|
void |
addChangeListener(org.apache.archiva.redback.components.registry.RegistryListener listener)
Add a registry listener to notify of events in plexus-registry. |
void |
addListener(ConfigurationListener listener)
Add a configuration listener to notify of changes to the configuration. |
Configuration |
getConfiguration()
Get the configuration. |
boolean |
isDefaulted()
Determines if the configuration in use was as a result of a defaulted configuration. |
void |
reload()
reload configuration from file included registry |
void |
removeListener(ConfigurationListener listener)
Remove a configuration listener to stop notifications of changes to the configuration. |
void |
save(Configuration configuration)
Save any updated configuration. |
Method Detail |
---|
Configuration getConfiguration()
void save(Configuration configuration) throws org.apache.archiva.redback.components.registry.RegistryException, IndeterminateConfigurationException
configuration
- the configuration to save
org.apache.archiva.redback.components.registry.RegistryException
- if there is a problem saving the registry data
IndeterminateConfigurationException
- if the configuration cannot be saved because it was read from two sourcesboolean isDefaulted()
void addListener(ConfigurationListener listener)
listener
- the listenervoid removeListener(ConfigurationListener listener)
listener
- the listenervoid addChangeListener(org.apache.archiva.redback.components.registry.RegistryListener listener)
listener
- the listener
TODO: Remove in future.void reload()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |