public static enum Constants.CommitBuildState extends Enum<Constants.CommitBuildState>
Enum Constant and Description |
---|
CANCELED |
FAILED |
PENDING |
RUNNING |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static Constants.CommitBuildState |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Constants.CommitBuildState |
valueOf(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 Constants.CommitBuildState[] values()
for (Constants.CommitBuildState c : Constants.CommitBuildState.values()) System.out.println(c);
public static Constants.CommitBuildState 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 nullpublic static Constants.CommitBuildState forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.CommitBuildState>
Copyright © 2020. All rights reserved.