@Service(value="proxyConnectorAdmin#default") public class DefaultProxyConnectorAdmin extends AbstractRepositoryAdmin implements ProxyConnectorAdmin
log
Constructor and Description |
---|
DefaultProxyConnectorAdmin() |
Modifier and Type | Method and Description |
---|---|
Boolean |
addProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation) |
Boolean |
deleteProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation) |
protected ProxyConnector |
getProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration) |
ProxyConnector |
getProxyConnector(String sourceRepoId,
String targetRepoId) |
Map<String,List<ProxyConnector>> |
getProxyConnectorAsMap() |
protected ProxyConnectorConfiguration |
getProxyConnectorConfiguration(ProxyConnector proxyConnector) |
List<ProxyConnector> |
getProxyConnectors() |
protected List<String> |
unescapePatterns(List<String> patterns) |
Boolean |
updateProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation)
only for enabled/disable or changing bean values except target/source
|
protected void |
validateProxyConnector(ProxyConnector proxyConnector) |
convertUriToString, getArchivaConfiguration, getAuditListeners, getModelMapper, getRegistry, getRepositoryCommonValidator, saveConfiguration, setArchivaConfiguration, setAuditListeners, setBaseRepoAttributes, setBaseRepoAttributes, setRegistry, setRepositoryCommonValidator, triggerAuditEvent
public DefaultProxyConnectorAdmin()
public List<ProxyConnector> getProxyConnectors() throws RepositoryAdminException
getProxyConnectors
in interface ProxyConnectorAdmin
RepositoryAdminException
public ProxyConnector getProxyConnector(String sourceRepoId, String targetRepoId) throws RepositoryAdminException
getProxyConnector
in interface ProxyConnectorAdmin
RepositoryAdminException
public Boolean addProxyConnector(ProxyConnector proxyConnector, AuditInformation auditInformation) throws RepositoryAdminException
addProxyConnector
in interface ProxyConnectorAdmin
RepositoryAdminException
public Boolean deleteProxyConnector(ProxyConnector proxyConnector, AuditInformation auditInformation) throws RepositoryAdminException
deleteProxyConnector
in interface ProxyConnectorAdmin
RepositoryAdminException
public Boolean updateProxyConnector(ProxyConnector proxyConnector, AuditInformation auditInformation) throws RepositoryAdminException
ProxyConnectorAdmin
updateProxyConnector
in interface ProxyConnectorAdmin
RepositoryAdminException
protected List<String> unescapePatterns(List<String> patterns)
public Map<String,List<ProxyConnector>> getProxyConnectorAsMap() throws RepositoryAdminException
getProxyConnectorAsMap
in interface ProxyConnectorAdmin
RepositoryAdminException
protected ProxyConnectorConfiguration getProxyConnectorConfiguration(ProxyConnector proxyConnector)
protected ProxyConnector getProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
protected void validateProxyConnector(ProxyConnector proxyConnector) throws RepositoryAdminException
RepositoryAdminException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.