public interface ArchivaConfiguration
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChangeListener(org.apache.archiva.redback.components.registry.RegistryListener listener)
Add a registry listener to notify of events in spring-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 | 
removeChangeListener(org.apache.archiva.redback.components.registry.RegistryListener listener)  | 
void | 
removeListener(ConfigurationListener listener)
Remove a configuration listener to stop notifications of changes to the configuration. 
 | 
void | 
save(Configuration configuration)
Save any updated configuration. 
 | 
Configuration getConfiguration()
void save(Configuration configuration) throws org.apache.archiva.redback.components.registry.RegistryException, IndeterminateConfigurationException
configuration - the configuration to saveorg.apache.archiva.redback.components.registry.RegistryException - if there is a problem saving the registry dataIndeterminateConfigurationException - 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 removeChangeListener(org.apache.archiva.redback.components.registry.RegistryListener listener)
void reload()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.