Package com.circleci.client.v2.model
Enum Workflow.StatusEnum
- java.lang.Object
-
- java.lang.Enum<Workflow.StatusEnum>
-
- com.circleci.client.v2.model.Workflow.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Workflow.StatusEnum>
- Enclosing class:
- Workflow
public static enum Workflow.StatusEnum extends Enum<Workflow.StatusEnum>
The current status of the workflow.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Workflow.StatusEnumfromValue(String value)StringgetValue()StringtoString()static Workflow.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Workflow.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Workflow.StatusEnum SUCCESS
-
RUNNING
public static final Workflow.StatusEnum RUNNING
-
NOT_RUN
public static final Workflow.StatusEnum NOT_RUN
-
FAILED
public static final Workflow.StatusEnum FAILED
-
ERROR
public static final Workflow.StatusEnum ERROR
-
FAILING
public static final Workflow.StatusEnum FAILING
-
ON_HOLD
public static final Workflow.StatusEnum ON_HOLD
-
CANCELED
public static final Workflow.StatusEnum CANCELED
-
UNAUTHORIZED
public static final Workflow.StatusEnum UNAUTHORIZED
-
-
Method Detail
-
values
public static Workflow.StatusEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Workflow.StatusEnum c : Workflow.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Workflow.StatusEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Workflow.StatusEnum>
-
fromValue
public static Workflow.StatusEnum fromValue(String value)
-
-