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