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