@Service(value="proxyConnectorAdmin#default") public class DefaultProxyConnectorAdmin extends AbstractRepositoryAdmin implements ProxyConnectorAdmin
Modifier and Type | Field and Description |
---|---|
private ManagedRepositoryAdmin |
managedRepositoryAdmin |
private RemoteRepositoryAdmin |
remoteRepositoryAdmin |
log
Constructor and Description |
---|
DefaultProxyConnectorAdmin() |
getArchivaConfiguration, getAuditListeners, getModelMapper, getRegistry, getRepositoryCommonValidator, saveConfiguration, setArchivaConfiguration, setAuditListeners, setRegistry, setRepositoryCommonValidator, triggerAuditEvent
@Inject private ManagedRepositoryAdmin managedRepositoryAdmin
@Inject private RemoteRepositoryAdmin remoteRepositoryAdmin
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
private ProxyConnectorConfiguration findProxyConnector(String sourceId, String targetId, Configuration configuration)
protected ProxyConnectorConfiguration getProxyConnectorConfiguration(ProxyConnector proxyConnector)
protected ProxyConnector getProxyConnector(ProxyConnectorConfiguration proxyConnectorConfiguration)
protected void validateProxyConnector(ProxyConnector proxyConnector) throws RepositoryAdminException
RepositoryAdminException
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.