Class BitbucketResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.bitbucket.rest.resource.BitbucketResource
-
@Singleton public class BitbucketResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BitbucketResource(BitbucketApiService bitbucketApiService, com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, CredentialsAccessor credentialsAccessor, WebhookManagementService webhookManagementService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createWebhook(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
destroyWebhook(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getAvailableRepositories(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getBranch(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getBranches(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getDefaultBranch(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getRepository(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
javax.ws.rs.core.Response
getWebhooks(javax.ws.rs.core.UriInfo uriInfo, @NotNull RestBitbucketRequest request)
-
-
-
Constructor Detail
-
BitbucketResource
public BitbucketResource(BitbucketApiService bitbucketApiService, com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, CredentialsAccessor credentialsAccessor, WebhookManagementService webhookManagementService)
-
-
Method Detail
-
getAvailableRepositories
public javax.ws.rs.core.Response getAvailableRepositories(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
getRepository
public javax.ws.rs.core.Response getRepository(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
getBranches
public javax.ws.rs.core.Response getBranches(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
getBranch
public javax.ws.rs.core.Response getBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
getDefaultBranch
public javax.ws.rs.core.Response getDefaultBranch(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
getWebhooks
public javax.ws.rs.core.Response getWebhooks(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
createWebhook
public javax.ws.rs.core.Response createWebhook(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
destroyWebhook
public javax.ws.rs.core.Response destroyWebhook(@Context javax.ws.rs.core.UriInfo uriInfo, @NotNull @NotNull RestBitbucketRequest request)
-
-