public static enum Constants.CommitBuildState extends java.lang.Enum<Constants.CommitBuildState>
Enum Constant and Description |
---|
CANCELED |
FAILED |
PENDING |
RUNNING |
SKIPPED |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static Constants.CommitBuildState |
forValue(java.lang.String value) |
java.lang.String |
toString() |
java.lang.String |
toValue() |
static Constants.CommitBuildState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.CommitBuildState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.CommitBuildState PENDING
public static final Constants.CommitBuildState RUNNING
public static final Constants.CommitBuildState SUCCESS
public static final Constants.CommitBuildState FAILED
public static final Constants.CommitBuildState CANCELED
public static final Constants.CommitBuildState SKIPPED
public static Constants.CommitBuildState[] values()
for (Constants.CommitBuildState c : Constants.CommitBuildState.values()) System.out.println(c);
public static Constants.CommitBuildState 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 static Constants.CommitBuildState forValue(java.lang.String value)
public java.lang.String toValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Constants.CommitBuildState>