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
Constructors Constructor Description BitbucketPullRequestValueRepository(BitbucketCloudRepository repository, BitbucketCloudBranch branch, BitbucketCloudCommit commit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketCloudBranch
getBranch()
BitbucketCommit
getCommit()
BitbucketCloudRepository
getRepository()
void
setBranch(BitbucketCloudBranch branch)
void
setCommit(BitbucketCloudCommit commit)
void
setRepository(BitbucketCloudRepository repository)
-
-
-
Constructor Detail
-
BitbucketPullRequestValueRepository
public BitbucketPullRequestValueRepository(BitbucketCloudRepository repository, BitbucketCloudBranch branch, BitbucketCloudCommit commit)
-
-
Method Detail
-
getRepository
@CheckForNull public BitbucketCloudRepository getRepository()
- Specified by:
getRepository
in interfaceBitbucketPullRequestSource
- Returns:
- source repository
-
setRepository
public void setRepository(BitbucketCloudRepository repository)
-
getBranch
@CheckForNull public BitbucketCloudBranch getBranch()
- Specified by:
getBranch
in interfaceBitbucketPullRequestSource
- Returns:
- source branch to be merged in the pull request
-
setBranch
public void setBranch(BitbucketCloudBranch branch)
-
getCommit
@CheckForNull public BitbucketCommit getCommit()
- Specified by:
getCommit
in interfaceBitbucketPullRequestSource
- Returns:
- the branch head commit
-
setCommit
public void setCommit(BitbucketCloudCommit commit)
-
-