public class Configuration extends Object implements Serializable
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
addLegacyArtifactPath(LegacyArtifactPath legacyArtifactPath)
Method addLegacyArtifactPath.
|
void |
addManagedRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration)
Method addManagedRepository.
|
void |
addNetworkProxy(NetworkProxyConfiguration networkProxyConfiguration)
Method addNetworkProxy.
|
void |
addProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
Method addProxyConnector.
|
void |
addProxyConnectorRuleConfiguration(ProxyConnectorRuleConfiguration proxyConnectorRuleConfiguration)
Method addProxyConnectorRuleConfiguration.
|
void |
addRemoteRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration)
Method addRemoteRepository.
|
void |
addRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration)
Method addRepositoryGroup.
|
ManagedRepositoryConfiguration |
findManagedRepositoryById(String id) |
RemoteRepositoryConfiguration |
findRemoteRepositoryById(String id) |
RepositoryGroupConfiguration |
findRepositoryGroupById(String id) |
ArchivaDefaultConfiguration |
getArchivaDefaultConfiguration()
Get archiva default settings.
|
ArchivaRuntimeConfiguration |
getArchivaRuntimeConfiguration()
Get the ArchivaRuntimeConfiguration.
|
Map<String,List<String>> |
getGroupToRepositoryMap() |
List<LegacyArtifactPath> |
getLegacyArtifactPaths()
Method getLegacyArtifactPaths.
|
List<ManagedRepositoryConfiguration> |
getManagedRepositories()
Method getManagedRepositories.
|
Map<String,ManagedRepositoryConfiguration> |
getManagedRepositoriesAsMap() |
String |
getModelEncoding()
Get the modelEncoding field.
|
NetworkConfiguration |
getNetworkConfiguration()
Get the NetworkConfiguration .
|
List<NetworkProxyConfiguration> |
getNetworkProxies()
Method getNetworkProxies.
|
Map<String,NetworkProxyConfiguration> |
getNetworkProxiesAsMap() |
OrganisationInformation |
getOrganisationInfo()
Get the organisation info.
|
Map<String,List<ProxyConnectorConfiguration>> |
getProxyConnectorAsMap() |
List<ProxyConnectorRuleConfiguration> |
getProxyConnectorRuleConfigurations()
Method getProxyConnectorRuleConfigurations.
|
List<ProxyConnectorConfiguration> |
getProxyConnectors()
Method getProxyConnectors.
|
RedbackRuntimeConfiguration |
getRedbackRuntimeConfiguration()
Get the RedbackRuntimeConfiguration.
|
List<RemoteRepositoryConfiguration> |
getRemoteRepositories()
Method getRemoteRepositories.
|
Map<String,RemoteRepositoryConfiguration> |
getRemoteRepositoriesAsMap() |
List<V1RepositoryConfiguration> |
getRepositories()
Method getRepositories.
|
List<RepositoryGroupConfiguration> |
getRepositoryGroups()
Method getRepositoryGroups.
|
Map<String,RepositoryGroupConfiguration> |
getRepositoryGroupsAsMap() |
RepositoryScanningConfiguration |
getRepositoryScanning()
Get the repository scanning configuration.
|
Map<String,List<String>> |
getRepositoryToGroupMap() |
String |
getVersion()
Get this is the version of the configuration format.
|
WebappConfiguration |
getWebapp()
Get the webapp configuration.
|
void |
removeLegacyArtifactPath(LegacyArtifactPath legacyArtifactPath)
Method removeLegacyArtifactPath.
|
void |
removeManagedRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration)
Method removeManagedRepository.
|
void |
removeNetworkProxy(NetworkProxyConfiguration networkProxyConfiguration)
Method removeNetworkProxy.
|
void |
removeProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
Method removeProxyConnector.
|
void |
removeProxyConnectorRuleConfiguration(ProxyConnectorRuleConfiguration proxyConnectorRuleConfiguration)
Method removeProxyConnectorRuleConfiguration.
|
void |
removeRemoteRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration)
Method removeRemoteRepository.
|
void |
removeRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration)
Method removeRepositoryGroup.
|
void |
setArchivaDefaultConfiguration(ArchivaDefaultConfiguration archivaDefaultConfiguration)
Set archiva default settings.
|
void |
setArchivaRuntimeConfiguration(ArchivaRuntimeConfiguration archivaRuntimeConfiguration)
Set the ArchivaRuntimeConfiguration.
|
void |
setLegacyArtifactPaths(List<LegacyArtifactPath> legacyArtifactPaths)
Set the list of custom legacy path to artifact.
|
void |
setManagedRepositories(List<ManagedRepositoryConfiguration> managedRepositories)
Set the list of repositories that this archiva instance
uses.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
Set the NetworkConfiguration .
|
void |
setNetworkProxies(List<NetworkProxyConfiguration> networkProxies)
Set the list of network proxies to use for outgoing
requests.
|
void |
setOrganisationInfo(OrganisationInformation organisationInfo)
Set the organisation info.
|
void |
setProxyConnectorRuleConfigurations(List<ProxyConnectorRuleConfiguration> proxyConnectorRuleConfigurations)
Set the list of ProxyConnectorRuleConfigurations.
|
void |
setProxyConnectors(List<ProxyConnectorConfiguration> proxyConnectors)
Set the list of proxy connectors for this archiva instance.
|
void |
setRedbackRuntimeConfiguration(RedbackRuntimeConfiguration redbackRuntimeConfiguration)
Set the RedbackRuntimeConfiguration.
|
void |
setRemoteRepositories(List<RemoteRepositoryConfiguration> remoteRepositories)
Set the list of repositories that this archiva can retrieve
from or publish to.
|
void |
setRepositories(List<V1RepositoryConfiguration> repositories)
Set @deprecated use managedRepositories or
remoteRepositories instead.
|
void |
setRepositoryGroups(List<RepositoryGroupConfiguration> repositoryGroups)
Set the list of repository groups.
|
void |
setRepositoryScanning(RepositoryScanningConfiguration repositoryScanning)
Set the repository scanning configuration.
|
void |
setVersion(String version)
Set this is the version of the configuration format.
|
void |
setWebapp(WebappConfiguration webapp)
Set the webapp configuration.
|
private List<V1RepositoryConfiguration> repositories
private List<RepositoryGroupConfiguration> repositoryGroups
private List<ManagedRepositoryConfiguration> managedRepositories
private List<RemoteRepositoryConfiguration> remoteRepositories
private List<ProxyConnectorConfiguration> proxyConnectors
private List<NetworkProxyConfiguration> networkProxies
private List<LegacyArtifactPath> legacyArtifactPaths
private RepositoryScanningConfiguration repositoryScanning
private WebappConfiguration webapp
private OrganisationInformation organisationInfo
private NetworkConfiguration networkConfiguration
private RedbackRuntimeConfiguration redbackRuntimeConfiguration
private ArchivaRuntimeConfiguration archivaRuntimeConfiguration
private List<ProxyConnectorRuleConfiguration> proxyConnectorRuleConfigurations
private ArchivaDefaultConfiguration archivaDefaultConfiguration
private String modelEncoding
private Map<String,List<String>> repositoryToGroupMap
private Map<String,List<String>> groupToRepositoryMap
public Configuration()
public void addLegacyArtifactPath(LegacyArtifactPath legacyArtifactPath)
legacyArtifactPath
- public void addManagedRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration)
managedRepositoryConfiguration
- public void addNetworkProxy(NetworkProxyConfiguration networkProxyConfiguration)
networkProxyConfiguration
- public void addProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
proxyConnectorConfiguration
- public void addProxyConnectorRuleConfiguration(ProxyConnectorRuleConfiguration proxyConnectorRuleConfiguration)
proxyConnectorRuleConfiguration
- public void addRemoteRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration)
remoteRepositoryConfiguration
- public void addRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration)
repositoryGroupConfiguration
- public ArchivaDefaultConfiguration getArchivaDefaultConfiguration()
public ArchivaRuntimeConfiguration getArchivaRuntimeConfiguration()
public List<LegacyArtifactPath> getLegacyArtifactPaths()
public List<ManagedRepositoryConfiguration> getManagedRepositories()
public String getModelEncoding()
public NetworkConfiguration getNetworkConfiguration()
public List<NetworkProxyConfiguration> getNetworkProxies()
public OrganisationInformation getOrganisationInfo()
public List<ProxyConnectorRuleConfiguration> getProxyConnectorRuleConfigurations()
public List<ProxyConnectorConfiguration> getProxyConnectors()
public RedbackRuntimeConfiguration getRedbackRuntimeConfiguration()
public List<RemoteRepositoryConfiguration> getRemoteRepositories()
public List<V1RepositoryConfiguration> getRepositories()
public List<RepositoryGroupConfiguration> getRepositoryGroups()
public RepositoryScanningConfiguration getRepositoryScanning()
public String getVersion()
public WebappConfiguration getWebapp()
public void removeLegacyArtifactPath(LegacyArtifactPath legacyArtifactPath)
legacyArtifactPath
- public void removeManagedRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration)
managedRepositoryConfiguration
- public void removeNetworkProxy(NetworkProxyConfiguration networkProxyConfiguration)
networkProxyConfiguration
- public void removeProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
proxyConnectorConfiguration
- public void removeProxyConnectorRuleConfiguration(ProxyConnectorRuleConfiguration proxyConnectorRuleConfiguration)
proxyConnectorRuleConfiguration
- public void removeRemoteRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration)
remoteRepositoryConfiguration
- public void removeRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration)
repositoryGroupConfiguration
- public void setArchivaDefaultConfiguration(ArchivaDefaultConfiguration archivaDefaultConfiguration)
archivaDefaultConfiguration
- public void setArchivaRuntimeConfiguration(ArchivaRuntimeConfiguration archivaRuntimeConfiguration)
archivaRuntimeConfiguration
- public void setLegacyArtifactPaths(List<LegacyArtifactPath> legacyArtifactPaths)
legacyArtifactPaths
- public void setManagedRepositories(List<ManagedRepositoryConfiguration> managedRepositories)
managedRepositories
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public void setNetworkProxies(List<NetworkProxyConfiguration> networkProxies)
networkProxies
- public void setOrganisationInfo(OrganisationInformation organisationInfo)
organisationInfo
- public void setProxyConnectorRuleConfigurations(List<ProxyConnectorRuleConfiguration> proxyConnectorRuleConfigurations)
proxyConnectorRuleConfigurations
- public void setProxyConnectors(List<ProxyConnectorConfiguration> proxyConnectors)
proxyConnectors
- public void setRedbackRuntimeConfiguration(RedbackRuntimeConfiguration redbackRuntimeConfiguration)
redbackRuntimeConfiguration
- public void setRemoteRepositories(List<RemoteRepositoryConfiguration> remoteRepositories)
remoteRepositories
- public void setRepositories(List<V1RepositoryConfiguration> repositories)
repositories
- public void setRepositoryGroups(List<RepositoryGroupConfiguration> repositoryGroups)
repositoryGroups
- public void setRepositoryScanning(RepositoryScanningConfiguration repositoryScanning)
repositoryScanning
- public void setVersion(String version)
version
- public void setWebapp(WebappConfiguration webapp)
webapp
- public Map<String,List<String>> getRepositoryToGroupMap()
public Map<String,RepositoryGroupConfiguration> getRepositoryGroupsAsMap()
public RepositoryGroupConfiguration findRepositoryGroupById(String id)
public Map<String,List<String>> getGroupToRepositoryMap()
public Map<String,NetworkProxyConfiguration> getNetworkProxiesAsMap()
public Map<String,List<ProxyConnectorConfiguration>> getProxyConnectorAsMap()
public Map<String,RemoteRepositoryConfiguration> getRemoteRepositoriesAsMap()
public RemoteRepositoryConfiguration findRemoteRepositoryById(String id)
public Map<String,ManagedRepositoryConfiguration> getManagedRepositoriesAsMap()
public ManagedRepositoryConfiguration findManagedRepositoryById(String id)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.