org.apache.archiva.admin.model.proxyconnector
Interface ProxyConnectorAdmin
- All Known Implementing Classes:
- DefaultProxyConnectorAdmin
public interface ProxyConnectorAdmin
No update method for changing source and target here as id is : sourceRepoId and targetRepoId, use delete then add.
- Since:
- 1.4-M1
- Author:
- Olivier Lamy
getProxyConnectors
List<ProxyConnector> getProxyConnectors()
throws RepositoryAdminException
- Throws:
RepositoryAdminException
getProxyConnector
ProxyConnector getProxyConnector(String sourceRepoId,
String targetRepoId)
throws RepositoryAdminException
- Throws:
RepositoryAdminException
addProxyConnector
Boolean addProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation)
throws RepositoryAdminException
- Throws:
RepositoryAdminException
deleteProxyConnector
Boolean deleteProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation)
throws RepositoryAdminException
- Throws:
RepositoryAdminException
updateProxyConnector
Boolean updateProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation)
throws RepositoryAdminException
- only for enabled/disable or changing bean values except target/source
- Parameters:
proxyConnector
- auditInformation
-
- Returns:
-
- Throws:
RepositoryAdminException
getProxyConnectorAsMap
Map<String,List<ProxyConnector>> getProxyConnectorAsMap()
throws RepositoryAdminException
- Returns:
- key/value : managed repo Id / list to proxy connector ordered
- Throws:
RepositoryAdminException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.