@Singleton public class BitbucketResource extends Object
Constructor and Description |
---|
BitbucketResource(BitbucketApiService bitbucketApiService,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
CredentialsAccessor credentialsAccessor) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAvailableRepositories(javax.ws.rs.core.UriInfo uriInfo,
RestBitbucketRequest request) |
javax.ws.rs.core.Response |
getBranch(javax.ws.rs.core.UriInfo uriInfo,
RestBitbucketRequest request) |
javax.ws.rs.core.Response |
getBranches(javax.ws.rs.core.UriInfo uriInfo,
RestBitbucketRequest request) |
javax.ws.rs.core.Response |
getDefaultBranch(javax.ws.rs.core.UriInfo uriInfo,
RestBitbucketRequest request) |
javax.ws.rs.core.Response |
getRepository(javax.ws.rs.core.UriInfo uriInfo,
RestBitbucketRequest request) |
public BitbucketResource(BitbucketApiService bitbucketApiService, com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, CredentialsAccessor credentialsAccessor)
public javax.ws.rs.core.Response getAvailableRepositories(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
public javax.ws.rs.core.Response getRepository(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
public javax.ws.rs.core.Response getBranches(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
public javax.ws.rs.core.Response getBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
public javax.ws.rs.core.Response getDefaultBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.