public interface ArchivaConfiguration
| Modifier and Type | Field and Description | 
|---|---|
| static String | USER_CONFIG_ENVVAR | 
| static String | USER_CONFIG_PROPERTY | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addChangeListener(org.apache.archiva.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. | 
| Path | getAppServerBaseDir() | 
| Configuration | getConfiguration()Get the configuration. | 
| Path | getDataDirectory()Returns the data directory where repositories and metadata reside | 
| Locale | getDefaultLocale() | 
| List<Locale.LanguageRange> | getLanguagePriorities() | 
| Path | getRemoteRepositoryBaseDir()Returns the base directory for remote repositories | 
| Path | getRepositoryBaseDir()Returns the base directory for repositories that have a relative location path set. | 
| Path | getRepositoryGroupBaseDir()Returns the base directory for repository group files. | 
| 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.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. | 
static final String USER_CONFIG_PROPERTY
static final String USER_CONFIG_ENVVAR
Configuration getConfiguration()
void save(Configuration configuration) throws org.apache.archiva.components.registry.RegistryException, IndeterminateConfigurationException
configuration - the configuration to saveorg.apache.archiva.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.components.registry.RegistryListener listener)
listener - the listener
                 TODO: Remove in future.void removeChangeListener(org.apache.archiva.components.registry.RegistryListener listener)
void reload()
Locale getDefaultLocale()
List<Locale.LanguageRange> getLanguagePriorities()
Path getAppServerBaseDir()
Path getRepositoryBaseDir()
Path getRemoteRepositoryBaseDir()
Path getRepositoryGroupBaseDir()
Path getDataDirectory()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.