Class BitbucketServerPullRequestSource
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.pullrequest.BitbucketServerPullRequestSource
- All Implemented Interfaces:
BitbucketPullRequestSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the source branch.getRefId()voidsetBranchType(PullRequestBranchType branchType) voidvoidsetRepository(BitbucketServerRepository repository)
-
Constructor Details
-
BitbucketServerPullRequestSource
public BitbucketServerPullRequestSource()
-
-
Method Details
-
getRefId
-
setRefId
-
getRepository
- Specified by:
getRepositoryin interfaceBitbucketPullRequestSource- Returns:
- source repository
-
getBranch
- Specified by:
getBranchin interfaceBitbucketPullRequestSource- Returns:
- source branch to be merged in the pull request
-
getCommit
- Specified by:
getCommitin interfaceBitbucketPullRequestSource- Returns:
- the branch head commit
-
setRepository
-
getBranchType
Description copied from interface:BitbucketPullRequestSourceReturns the type of the source branch.In some server implementations the source HEAD could be a tag.
- Specified by:
getBranchTypein interfaceBitbucketPullRequestSource- Returns:
- the source branch type
-
setBranchType
-