Interface BitbucketDeploymentClient
- All Known Implementing Classes:
BitbucketDeploymentClientImpl
public interface BitbucketDeploymentClient
Client for interacting with Bitbucket Server's deployments API.
- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
post
(BitbucketDeployment deployment) Send notification of a deployment to Bitbucket Server.
-
Method Details
-
post
Send notification of a deployment to Bitbucket Server.- Parameters:
deployment
- the deployment to send- Throws:
AuthorizationException
- if the credentials did not allow access to the given urlConnectionFailureException
- 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
-