public static enum Pullrequest.StateEnum extends java.lang.Enum<Pullrequest.StateEnum>
| Enum Constant and Description |
|---|
DECLINED |
MERGED |
OPEN |
SUPERSEDED |
| Modifier and Type | Method and Description |
|---|---|
static Pullrequest.StateEnum |
fromValue(java.lang.String v) |
java.lang.String |
toString() |
java.lang.String |
value() |
static Pullrequest.StateEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pullrequest.StateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pullrequest.StateEnum MERGED
public static final Pullrequest.StateEnum SUPERSEDED
public static final Pullrequest.StateEnum OPEN
public static final Pullrequest.StateEnum DECLINED
public static Pullrequest.StateEnum[] values()
for (Pullrequest.StateEnum c : Pullrequest.StateEnum.values()) System.out.println(c);
public static Pullrequest.StateEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public java.lang.String toString()
toString in class java.lang.Enum<Pullrequest.StateEnum>public static Pullrequest.StateEnum fromValue(java.lang.String v)