Package com.spotify.github.v3.workflows
Enum WorkflowsState
- java.lang.Object
-
- java.lang.Enum<WorkflowsState>
-
- com.spotify.github.v3.workflows.WorkflowsState
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowsState>
public enum WorkflowsState extends Enum<WorkflowsState>
The Workflow State.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description active
deleted
disabled_fork
disabled_inactivity
disabled_manually
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowsState
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkflowsState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
active
public static final WorkflowsState active
-
deleted
public static final WorkflowsState deleted
-
disabled_fork
public static final WorkflowsState disabled_fork
-
disabled_inactivity
public static final WorkflowsState disabled_inactivity
-
disabled_manually
public static final WorkflowsState disabled_manually
-
-
Method Detail
-
values
public static WorkflowsState[] 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 (WorkflowsState c : WorkflowsState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowsState 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
-
-