@Path(value="repository") @Consumes(value="application/json") @Produces(value="application/json") @Singleton public class RepositoryResource extends Object
Constructor and Description |
---|
RepositoryResource(BambooUserManager bambooUserManager,
RepositoryTestService repositoryTestService) |
Modifier and Type | Method and Description |
---|---|
RestRepositoryDefinition |
createLinkedRepository(RestRepositoryConfig repositoryConfig,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
javax.ws.rs.core.Response |
deleteLinkedRepository(long repositoryId) |
public RepositoryResource(BambooUserManager bambooUserManager, RepositoryTestService repositoryTestService)
@Path(value="linked") @POST public RestRepositoryDefinition createLinkedRepository(@NotNull RestRepositoryConfig repositoryConfig, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
WebValidationException
@Path(value="linked/{repositoryId}") @DELETE public javax.ws.rs.core.Response deleteLinkedRepository(@PathParam(value="repositoryId") long repositoryId)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.