public interface PullRequestMergeability extends PropertySupport
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge() |
PullRequestMergeOutcome |
getOutcome() |
Collection<PullRequestMergeVeto> |
getVetoes() |
boolean |
isConflicted() |
getPropertiesboolean canMerge()
false if the pull request cannot be merged for any reason; otherwise true@Nonnull PullRequestMergeOutcome getOutcome()
outcome of trying to merge this pull request@Nonnull Collection<PullRequestMergeVeto> getVetoes()
vetoes from RepositoryMergeChecks
used to validate merge preconditionsboolean isConflicted()
true if the outcome is PullRequestMergeOutcome.CONFLICTED; false otherwiseCopyright © 2021 Atlassian. All rights reserved.