Enum Step.StepType
- java.lang.Object
-
- java.lang.Enum<Step.StepType>
-
- fr.ens.biologie.genomique.eoulsan.core.Step.StepType
-
- All Implemented Interfaces:
Serializable
,Comparable<Step.StepType>
- Enclosing interface:
- Step
public static enum Step.StepType extends Enum<Step.StepType>
This enum define the type of step.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKER_STEP
DESIGN_STEP
FIRST_STEP
GENERATOR_STEP
ROOT_STEP
STANDARD_STEP
TERMINAL_STEP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
getAllDefaultStepId()
Return the available default step ids of the step types.String
getDefaultStepId()
Get default step id.int
getPriority()
Get the priority of the step.static Step.StepType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Step.StepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT_STEP
public static final Step.StepType ROOT_STEP
-
DESIGN_STEP
public static final Step.StepType DESIGN_STEP
-
CHECKER_STEP
public static final Step.StepType CHECKER_STEP
-
GENERATOR_STEP
public static final Step.StepType GENERATOR_STEP
-
FIRST_STEP
public static final Step.StepType FIRST_STEP
-
STANDARD_STEP
public static final Step.StepType STANDARD_STEP
-
TERMINAL_STEP
public static final Step.StepType TERMINAL_STEP
-
-
Method Detail
-
values
public static Step.StepType[] 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 (Step.StepType c : Step.StepType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Step.StepType 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
-
getPriority
public int getPriority()
Get the priority of the step.- Returns:
- the priority of the step
-
getDefaultStepId
public String getDefaultStepId()
Get default step id.- Returns:
- the default step id or null if not exists
-
-