@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 |
deleteAllLinkedRepositories() |
javax.ws.rs.core.Response |
deleteLinkedRepository(long repositoryId) |
public RepositoryResource(BambooUserManager bambooUserManager, RepositoryTestService repositoryTestService)
public RestRepositoryDefinition createLinkedRepository(@NotNull RestRepositoryConfig repositoryConfig, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response deleteLinkedRepository(long repositoryId)
public javax.ws.rs.core.Response deleteAllLinkedRepositories()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.