public interface PullRequestMergeability extends PropertySupport
Modifier and Type | Method and Description |
---|---|
boolean |
canMerge() |
PullRequestMergeOutcome |
getOutcome() |
Collection<PullRequestMergeVeto> |
getVetoes() |
boolean |
isConflicted() |
getProperties
boolean 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 RepositoryMergeCheck
s
used to validate merge preconditionsboolean isConflicted()
true
if the outcome
is PullRequestMergeOutcome.CONFLICTED
; false
otherwiseCopyright © 2022 Atlassian. All rights reserved.