public enum MergeState extends Enum<MergeState>
Enum Constant and Description |
---|
BAD_HEAD
If the current Pull Request head doesn't match the specified SHA.
|
NOT_MERGEABLE
If the Pull Request wasn't mergeable.
|
SUCCESS
If the Pull Request was successfully merged.
|
Modifier and Type | Method and Description |
---|---|
static MergeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeState SUCCESS
public static final MergeState NOT_MERGEABLE
public static final MergeState BAD_HEAD
public static MergeState[] values()
for (MergeState c : MergeState.values()) System.out.println(c);
public static MergeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2018 jcabi.com. All rights reserved.