Class BitbucketPullRequestValueRepository
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.pullrequest.BitbucketPullRequestValueRepository
- All Implemented Interfaces:
BitbucketPullRequestSource
public class BitbucketPullRequestValueRepository
extends Object
implements BitbucketPullRequestSource
-
Constructor Summary
ConstructorDescriptionBitbucketPullRequestValueRepository
(BitbucketCloudRepository repository, BitbucketCloudBranch branch, BitbucketCloudCommit commit) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBranch
(BitbucketCloudBranch branch) void
setCommit
(BitbucketCloudCommit commit) void
setRepository
(BitbucketCloudRepository repository)
-
Constructor Details
-
BitbucketPullRequestValueRepository
public BitbucketPullRequestValueRepository(BitbucketCloudRepository repository, BitbucketCloudBranch branch, BitbucketCloudCommit commit)
-
-
Method Details
-
getRepository
- Specified by:
getRepository
in interfaceBitbucketPullRequestSource
- Returns:
- source repository
-
setRepository
-
getBranch
- Specified by:
getBranch
in interfaceBitbucketPullRequestSource
- Returns:
- source branch to be merged in the pull request
-
setBranch
-
getCommit
- Specified by:
getCommit
in interfaceBitbucketPullRequestSource
- Returns:
- the branch head commit
-
setCommit
-