org.apache.archiva.rest.services
Class DefaultProxyConnectorRuleService
java.lang.Object
org.apache.archiva.rest.services.AbstractRestService
org.apache.archiva.rest.services.DefaultProxyConnectorRuleService
- All Implemented Interfaces:
- ProxyConnectorRuleService
@Service(value="proxyConnectorRuleService#rest")
public class DefaultProxyConnectorRuleService
- extends AbstractRestService
- implements ProxyConnectorRuleService
- Author:
- Olivier Lamy
Methods inherited from class org.apache.archiva.rest.services.AbstractRestService |
buildArtifacts, doScanRepository, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxyConnectorRuleAdmin
@Inject
private ProxyConnectorRuleAdmin proxyConnectorRuleAdmin
DefaultProxyConnectorRuleService
public DefaultProxyConnectorRuleService()
getProxyConnectorRules
public List<ProxyConnectorRule> getProxyConnectorRules()
throws ArchivaRestServiceException
- Specified by:
getProxyConnectorRules
in interface ProxyConnectorRuleService
- Throws:
ArchivaRestServiceException
validateProxyConnectorRule
private void validateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule)
throws ArchivaRestServiceException
- Throws:
ArchivaRestServiceException
addProxyConnectorRule
public Boolean addProxyConnectorRule(ProxyConnectorRule proxyConnectorRule)
throws ArchivaRestServiceException
- Specified by:
addProxyConnectorRule
in interface ProxyConnectorRuleService
- Throws:
ArchivaRestServiceException
deleteProxyConnectorRule
public Boolean deleteProxyConnectorRule(ProxyConnectorRule proxyConnectorRule)
throws ArchivaRestServiceException
- Specified by:
deleteProxyConnectorRule
in interface ProxyConnectorRuleService
- Throws:
ArchivaRestServiceException
updateProxyConnectorRule
public Boolean updateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule)
throws ArchivaRestServiceException
- Description copied from interface:
ProxyConnectorRuleService
- only to update attached proxy connectors to update pattern use delete then add
- Specified by:
updateProxyConnectorRule
in interface ProxyConnectorRuleService
- Throws:
ArchivaRestServiceException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.