public class MockProxyConnectorAdmin extends Object implements ProxyConnectorAdmin
Constructor and Description |
---|
MockProxyConnectorAdmin() |
Modifier and Type | Method and Description |
---|---|
Boolean |
addProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation) |
Boolean |
deleteProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation) |
ProxyConnector |
getProxyConnector(String sourceRepoId,
String targetRepoId) |
Map<String,List<ProxyConnector>> |
getProxyConnectorAsMap() |
List<ProxyConnector> |
getProxyConnectors() |
Boolean |
updateProxyConnector(ProxyConnector proxyConnector,
AuditInformation auditInformation)
only for enabled/disable or changing bean values except target/source
|
public MockProxyConnectorAdmin()
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
public Map<String,List<ProxyConnector>> getProxyConnectorAsMap() throws RepositoryAdminException
getProxyConnectorAsMap
in interface ProxyConnectorAdmin
RepositoryAdminException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.