@Path(value="/remoteRepositoriesService/") public interface RemoteRepositoriesService
Modifier and Type | Method and Description |
---|---|
Boolean |
addRemoteRepository(RemoteRepository remoteRepository) |
Boolean |
checkRemoteConnectivity(String repositoryId) |
Boolean |
deleteRemoteRepository(String repositoryId) |
List<RemoteRepository> |
getRemoteRepositories() |
RemoteRepository |
getRemoteRepository(String repositoryId) |
Boolean |
updateRemoteRepository(RemoteRepository remoteRepository) |
@Path(value="getRemoteRepositories") @GET @Produces(value={"application/json","application/xml"}) List<RemoteRepository> getRemoteRepositories() throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="getRemoteRepository/{repositoryId}") @GET @Produces(value={"application/json","application/xml"}) RemoteRepository getRemoteRepository(@PathParam(value="repositoryId") String repositoryId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="deleteRemoteRepository/{repositoryId}") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean deleteRemoteRepository(@PathParam(value="repositoryId") String repositoryId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addRemoteRepository") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean addRemoteRepository(RemoteRepository remoteRepository) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="updateRemoteRepository") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml","text/plain"}) Boolean updateRemoteRepository(RemoteRepository remoteRepository) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="checkRemoteConnectivity/{repositoryId}") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean checkRemoteConnectivity(@PathParam(value="repositoryId") String repositoryId) throws ArchivaRestServiceException
ArchivaRestServiceException
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.