Package org.gbif.api.model.pipelines
Enum PipelineStep.Status
- java.lang.Object
-
- java.lang.Enum<PipelineStep.Status>
-
- org.gbif.api.model.pipelines.PipelineStep.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<PipelineStep.Status>
- Enclosing class:
- PipelineStep
public static enum PipelineStep.Status extends Enum<PipelineStep.Status>
Enum to represent the status of a step.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PipelineStep.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static PipelineStep.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final PipelineStep.Status RUNNING
-
FAILED
public static final PipelineStep.Status FAILED
-
SUBMITTED
public static final PipelineStep.Status SUBMITTED
-
COMPLETED
public static final PipelineStep.Status COMPLETED
-
ABORTED
public static final PipelineStep.Status ABORTED
-
QUEUED
public static final PipelineStep.Status QUEUED
-
-
Method Detail
-
values
public static PipelineStep.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 (PipelineStep.Status c : PipelineStep.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 PipelineStep.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
-
-