com.atlassian.bitbucket.pull.PullRequestMergeability |
Class Overview
Describes whether a pull request can merge and why this is so.
Public Methods
public
boolean
canMerge
()
Returns
false
if the pull request cannot be merged for any reason; otherwise true
Returns
- a collection containing zero or more
vetoes
from MergeRequestCheck
s
used to validate merge preconditions
public
boolean
isConflicted
()
Returns
- returns true if the pull request has merge conflicts requiring resolution. A pull request with
merge conflicts cannot be merged.