Interface BitbucketCapabilitiesClient
- 
- All Known Implementing Classes:
 BitbucketCapabilitiesClientImpl
public interface BitbucketCapabilitiesClientClient to get capabilities from the remote server. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketCICapabilitiesgetCICapabilities()Get the supported ci capabilities of the linked Bitbucket Server.BitbucketDeploymentCapabilitiesgetDeploymentCapabilities()Get the supported deployment capabilities of the linked Bitbucket Server.AtlassianServerCapabilitiesgetServerCapabilities()Get the server capabilitiesBitbucketWebhookSupportedEventsgetWebhookSupportedEvents()Get the supported webhook events of the linked Bitbucket Server. 
 - 
 
- 
- 
Method Detail
- 
getCICapabilities
BitbucketCICapabilities getCICapabilities()
Get the supported ci capabilities of the linked Bitbucket Server.- Returns:
 - the supported capabilities
 - Throws:
 AuthorizationException- if the credentials did not allow access to the given urlNoContentException- if the server did not respond with a bodyConnectionFailureException- if the server did not respondNotFoundException- if the requested url does not existBadRequestException- if the request was malformed and thus rejected by the serverServerErrorException- if the server failed to process the requestBitbucketClientException- for all errors not already captured
 
- 
getDeploymentCapabilities
BitbucketDeploymentCapabilities getDeploymentCapabilities()
Get the supported deployment capabilities of the linked Bitbucket Server.- Returns:
 - the supported capabilities
 - Throws:
 AuthorizationException- if the credentials did not allow access to the given urlNoContentException- if the server did not respond with a bodyConnectionFailureException- if the server did not respondNotFoundException- if the requested url does not existBadRequestException- if the request was malformed and thus rejected by the serverServerErrorException- if the server failed to process the requestBitbucketClientException- for all errors not already captured- Since:
 - 3.1.0
 
 
- 
getServerCapabilities
AtlassianServerCapabilities getServerCapabilities()
Get the server capabilities- Returns:
 - the capabilities of the linked Bitbucket Server
 - Throws:
 AuthorizationException- if the credentials did not allow access to the given urlNoContentException- if the server did not respond with a bodyConnectionFailureException- if the server did not respondNotFoundException- if the requested url does not existBadRequestException- if the request was malformed and thus rejected by the serverServerErrorException- if the server failed to process the requestBitbucketClientException- for all errors not already captured
 
- 
getWebhookSupportedEvents
BitbucketWebhookSupportedEvents getWebhookSupportedEvents() throws BitbucketMissingCapabilityException
Get the supported webhook events of the linked Bitbucket Server.- Returns:
 - the supported events
 - Throws:
 AuthorizationException- if the credentials did not allow access to the given urlNoContentException- if the server did not respond with a bodyConnectionFailureException- if the server did not respondNotFoundException- if the requested url does not existBadRequestException- if the request was malformed and thus rejected by the serverServerErrorException- if the server failed to process the requestBitbucketClientException- for all errors not already capturedBitbucketMissingCapabilityException
 
 - 
 
 -