Package com.atlassian.bitbucket.pull
Interface PullRequestMergeability
- All Superinterfaces:
PropertySupport
Describes whether a pull request can merge and why this is so.
-
Method Summary
Methods inherited from interface com.atlassian.bitbucket.property.PropertySupport
getProperties
-
Method Details
-
canMerge
boolean canMerge()- Returns:
falseif the pull request cannot be merged for any reason; otherwisetrue
-
getOutcome
- Returns:
- the
outcomeof trying to merge this pull request - Since:
- 4.10
-
getVetoes
- Returns:
- a collection containing zero or more
vetoesfromRepositoryMergeChecks used to validate merge preconditions
-
isConflicted
boolean isConflicted()- Returns:
trueif theoutcomeisPullRequestMergeOutcome.CONFLICTED;falseotherwise
-