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:
false
if the pull request cannot be merged for any reason; otherwisetrue
-
getOutcome
- Returns:
- the
outcome
of trying to merge this pull request - Since:
- 4.10
-
getVetoes
- Returns:
- a collection containing zero or more
vetoes
fromRepositoryMergeCheck
s used to validate merge preconditions
-
isConflicted
boolean isConflicted()- Returns:
true
if theoutcome
isPullRequestMergeOutcome.CONFLICTED
;false
otherwise
-