Interface BitbucketPullRequestSource
- All Known Implementing Classes:
BitbucketPullRequestValueRepository
,BitbucketServerPullRequestSource
public interface BitbucketPullRequestSource
Represents a pull request source, which is a repository, a branch in that repository and the head commit.
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getRepository
BitbucketRepository getRepository()- Returns:
- source repository
-
getBranch
BitbucketBranch getBranch()- Returns:
- source branch to be merged in the pull request
-
getCommit
BitbucketCommit getCommit()- Returns:
- the branch head commit
-