Package com.circleci.client.v2.model
Enum PipelineLight.StateEnum
- java.lang.Object
-
- java.lang.Enum<PipelineLight.StateEnum>
-
- com.circleci.client.v2.model.PipelineLight.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PipelineLight.StateEnum>
- Enclosing class:
- PipelineLight
public static enum PipelineLight.StateEnum extends Enum<PipelineLight.StateEnum>
The current state of the pipeline.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipelineLight.StateEnumfromValue(String value)StringgetValue()StringtoString()static PipelineLight.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PipelineLight.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final PipelineLight.StateEnum CREATED
-
RUNNING
public static final PipelineLight.StateEnum RUNNING
-
FAILED
public static final PipelineLight.StateEnum FAILED
-
ERRORED
public static final PipelineLight.StateEnum ERRORED
-
SUCCESSFUL
public static final PipelineLight.StateEnum SUCCESSFUL
-
ON_HOLD
public static final PipelineLight.StateEnum ON_HOLD
-
BLOCKED
public static final PipelineLight.StateEnum BLOCKED
-
PENDING
public static final PipelineLight.StateEnum PENDING
-
CANCELED
public static final PipelineLight.StateEnum CANCELED
-
-
Method Detail
-
values
public static PipelineLight.StateEnum[] 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 (PipelineLight.StateEnum c : PipelineLight.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PipelineLight.StateEnum 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<PipelineLight.StateEnum>
-
fromValue
public static PipelineLight.StateEnum fromValue(String value)
-
-