@Path(value="/proxyConnectorService/") public interface ProxyConnectorService
Modifier and Type | Method and Description |
---|---|
Boolean |
addProxyConnector(ProxyConnector proxyConnector) |
Boolean |
deleteProxyConnector(ProxyConnector proxyConnector) |
List<PolicyInformation> |
getAllPolicyInformations() |
ProxyConnector |
getProxyConnector(String sourceRepoId,
String targetRepoId) |
List<ProxyConnector> |
getProxyConnectors() |
Boolean |
removeProxyConnector(String sourceRepoId,
String targetRepoId) |
Boolean |
updateProxyConnector(ProxyConnector proxyConnector)
only for enabled/disable or changing bean values except target/source
|
@Path(value="getProxyConnectors") @GET @Produces(value={"application/json","application/xml"}) List<ProxyConnector> getProxyConnectors() throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="getProxyConnector") @GET @Produces(value={"application/json","application/xml"}) ProxyConnector getProxyConnector(@QueryParam(value="sourceRepoId") String sourceRepoId, @QueryParam(value="targetRepoId") String targetRepoId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addProxyConnector") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean addProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="deleteProxyConnector") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean deleteProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="removeProxyConnector") @GET @Produces(value={"application/json","application/xml"}) Boolean removeProxyConnector(@QueryParam(value="sourceRepoId") String sourceRepoId, @QueryParam(value="targetRepoId") String targetRepoId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="updateProxyConnector") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean updateProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
proxyConnector
- ArchivaRestServiceException
@Path(value="allPolicies") @GET @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml"}) List<PolicyInformation> getAllPolicyInformations() throws ArchivaRestServiceException
ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.