Enum PipelineExecutorTask.Status
- java.lang.Object
-
- java.lang.Enum<PipelineExecutorTask.Status>
-
- org.guvnor.ala.pipeline.execution.PipelineExecutorTask.Status
-
- All Implemented Interfaces:
Serializable,Comparable<PipelineExecutorTask.Status>
- Enclosing interface:
- PipelineExecutorTask
public static enum PipelineExecutorTask.Status extends Enum<PipelineExecutorTask.Status>
Indicates the pipeline execution status.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PipelineExecutorTask.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static PipelineExecutorTask.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEDULED
public static final PipelineExecutorTask.Status SCHEDULED
-
RUNNING
public static final PipelineExecutorTask.Status RUNNING
-
FINISHED
public static final PipelineExecutorTask.Status FINISHED
-
ERROR
public static final PipelineExecutorTask.Status ERROR
-
STOPPED
public static final PipelineExecutorTask.Status STOPPED
-
-
Method Detail
-
values
public static PipelineExecutorTask.Status[] 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 (PipelineExecutorTask.Status c : PipelineExecutorTask.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PipelineExecutorTask.Status 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
-
-