public class PullRequestMergeability extends Object
| Constructor and Description |
|---|
PullRequestMergeability(Optional<String> outcome,
boolean canMerge,
boolean conflicted) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getOutcome()
Note that due to lazy merge work success of the merge can not be guaranteed.
|
boolean |
isCanMerge() |
boolean |
isConflicted() |
String |
toString() |
@Nonnull public Optional<String> getOutcome()
public boolean isCanMerge()
false if the pull request cannot be merged for any reason; otherwise truepublic boolean isConflicted()
true if the pull request has merge conflicts requiring resolution. A pull request with
merge conflicts cannot be merged.Copyright © 2020 Atlassian. All rights reserved.