org.apache.archiva.rest.services
Class DefaultNetworkProxyService
java.lang.Object
org.apache.archiva.rest.services.AbstractRestService
org.apache.archiva.rest.services.DefaultNetworkProxyService
- All Implemented Interfaces:
- NetworkProxyService
@Service(value="networkProxyService#rest")
public class DefaultNetworkProxyService
- extends AbstractRestService
- implements NetworkProxyService
- 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 |
networkProxyAdmin
@Inject
private NetworkProxyAdmin networkProxyAdmin
DefaultNetworkProxyService
public DefaultNetworkProxyService()
getNetworkProxies
public List<NetworkProxy> getNetworkProxies()
throws ArchivaRestServiceException
- Specified by:
getNetworkProxies
in interface NetworkProxyService
- Throws:
ArchivaRestServiceException
getNetworkProxy
public NetworkProxy getNetworkProxy(String networkProxyId)
throws ArchivaRestServiceException
- Specified by:
getNetworkProxy
in interface NetworkProxyService
- Throws:
ArchivaRestServiceException
addNetworkProxy
public void addNetworkProxy(NetworkProxy networkProxy)
throws ArchivaRestServiceException
- Specified by:
addNetworkProxy
in interface NetworkProxyService
- Throws:
ArchivaRestServiceException
updateNetworkProxy
public void updateNetworkProxy(NetworkProxy networkProxy)
throws ArchivaRestServiceException
- Specified by:
updateNetworkProxy
in interface NetworkProxyService
- Throws:
ArchivaRestServiceException
deleteNetworkProxy
public Boolean deleteNetworkProxy(String networkProxyId)
throws ArchivaRestServiceException
- Specified by:
deleteNetworkProxy
in interface NetworkProxyService
- Throws:
ArchivaRestServiceException
getNetworkProxyAdmin
public NetworkProxyAdmin getNetworkProxyAdmin()
setNetworkProxyAdmin
public void setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.