Class BitbucketCloudPullRequestDestination
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.pullrequest.BitbucketCloudPullRequestDestination
- All Implemented Interfaces:
BitbucketPullRequestDestination
public class BitbucketCloudPullRequestDestination
extends Object
implements BitbucketPullRequestDestination
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketCloudPullRequestDestination(BitbucketCloudRepository repository, BitbucketCloudBranch branch, BitbucketCloudCommit commit) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBranch(BitbucketCloudBranch branch) voidsetCommit(BitbucketCloudCommit commit) voidsetRepository(BitbucketCloudRepository repository)
-
Constructor Details
-
BitbucketCloudPullRequestDestination
public BitbucketCloudPullRequestDestination(@NonNull BitbucketCloudRepository repository, BitbucketCloudBranch branch, @CheckForNull BitbucketCloudCommit commit)
-
-
Method Details
-
getRepository
- Specified by:
getRepositoryin interfaceBitbucketPullRequestDestination- Returns:
- source repository
-
setRepository
-
getBranch
- Specified by:
getBranchin interfaceBitbucketPullRequestDestination- Returns:
- source branch to be merged in the pull request
-
setBranch
-
getCommit
- Specified by:
getCommitin interfaceBitbucketPullRequestDestination- Returns:
- the commit details (if available).
-
setCommit
-