Class BitbucketServerPullRequestDestination
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.server.client.pullrequest.BitbucketServerPullRequestDestination
-
- All Implemented Interfaces:
BitbucketPullRequestDestination
public class BitbucketServerPullRequestDestination extends Object implements BitbucketPullRequestDestination
-
-
Constructor Summary
Constructors Constructor Description BitbucketServerPullRequestDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketBranch
getBranch()
BitbucketCommit
getCommit()
BitbucketServerRepository
getRepository()
void
setRepository(BitbucketServerRepository repository)
-
-
-
Method Detail
-
getRepository
public BitbucketServerRepository getRepository()
- Specified by:
getRepository
in interfaceBitbucketPullRequestDestination
- Returns:
- source repository
-
getBranch
public BitbucketBranch getBranch()
- Specified by:
getBranch
in interfaceBitbucketPullRequestDestination
- Returns:
- source branch to be merged in the pull request
-
getCommit
public BitbucketCommit getCommit()
- Specified by:
getCommit
in interfaceBitbucketPullRequestDestination
- Returns:
- the commit details (if available).
-
setRepository
public void setRepository(BitbucketServerRepository repository)
-
-