org.apache.archiva.rest.api.services
Interface ProxyConnectorService


public interface ProxyConnectorService

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

Method Summary
 Boolean addProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
           
 Boolean deleteProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
           
 List<PolicyInformation> getAllPolicyInformations()
           
 org.apache.archiva.admin.model.beans.ProxyConnector getProxyConnector(String sourceRepoId, String targetRepoId)
           
 List<org.apache.archiva.admin.model.beans.ProxyConnector> getProxyConnectors()
           
 Boolean removeProxyConnector(String sourceRepoId, String targetRepoId)
           
 Boolean updateProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
          only for enabled/disable or changing bean values except target/source
 

Method Detail

getProxyConnectors

List<org.apache.archiva.admin.model.beans.ProxyConnector> getProxyConnectors()
                                                                             throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

getProxyConnector

org.apache.archiva.admin.model.beans.ProxyConnector getProxyConnector(String sourceRepoId,
                                                                      String targetRepoId)
                                                                      throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

addProxyConnector

Boolean addProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
                          throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

deleteProxyConnector

Boolean deleteProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
                             throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException

removeProxyConnector

Boolean removeProxyConnector(String sourceRepoId,
                             String targetRepoId)
                             throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException
Since:
1.4-M3

updateProxyConnector

Boolean updateProxyConnector(org.apache.archiva.admin.model.beans.ProxyConnector proxyConnector)
                             throws ArchivaRestServiceException
only for enabled/disable or changing bean values except target/source

Parameters:
proxyConnector -
Returns:
Throws:
ArchivaRestServiceException

getAllPolicyInformations

List<PolicyInformation> getAllPolicyInformations()
                                                 throws ArchivaRestServiceException
Throws:
ArchivaRestServiceException


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.