Package com.circleci.client.v2.model
Enum InlineResponse2001Items.StatusEnum
- java.lang.Object
-
- java.lang.Enum<InlineResponse2001Items.StatusEnum>
-
- com.circleci.client.v2.model.InlineResponse2001Items.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<InlineResponse2001Items.StatusEnum>
- Enclosing class:
- InlineResponse2001Items
public static enum InlineResponse2001Items.StatusEnum extends Enum<InlineResponse2001Items.StatusEnum>
Workflow status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELEDERRORFAILEDSUCCESSUNAUTHORIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineResponse2001Items.StatusEnumfromValue(String value)StringgetValue()StringtoString()static InlineResponse2001Items.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static InlineResponse2001Items.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 InlineResponse2001Items.StatusEnum SUCCESS
-
FAILED
public static final InlineResponse2001Items.StatusEnum FAILED
-
ERROR
public static final InlineResponse2001Items.StatusEnum ERROR
-
CANCELED
public static final InlineResponse2001Items.StatusEnum CANCELED
-
UNAUTHORIZED
public static final InlineResponse2001Items.StatusEnum UNAUTHORIZED
-
-
Method Detail
-
values
public static InlineResponse2001Items.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 (InlineResponse2001Items.StatusEnum c : InlineResponse2001Items.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 InlineResponse2001Items.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<InlineResponse2001Items.StatusEnum>
-
fromValue
public static InlineResponse2001Items.StatusEnum fromValue(String value)
-
-