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
Constructors Constructor Description BitbucketPullRequestValueDestination(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
-
BitbucketPullRequestValueDestination
public BitbucketPullRequestValueDestination(@NonNull BitbucketCloudRepository repository, BitbucketCloudBranch branch, @CheckForNull BitbucketCloudCommit commit)
-
-
Method Detail
-
getRepository
public BitbucketCloudRepository getRepository()
- Specified by:
getRepository
in interfaceBitbucketPullRequestDestination
- Returns:
- source repository
-
setRepository
public void setRepository(BitbucketCloudRepository repository)
-
getBranch
@CheckForNull public BitbucketCloudBranch getBranch()
- Specified by:
getBranch
in interfaceBitbucketPullRequestDestination
- 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 interfaceBitbucketPullRequestDestination
- Returns:
- the commit details (if available).
-
setCommit
public void setCommit(BitbucketCloudCommit commit)
-
-