Package org.gbif.api.model.pipelines
Enum StepType
- java.lang.Object
-
- java.lang.Enum<StepType>
-
- org.gbif.api.model.pipelines.StepType
-
- All Implemented Interfaces:
Serializable
,Comparable<StepType>
public enum StepType extends Enum<StepType>
Enum to represent the pipelines step names.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isEventType(StepType type)
static boolean
isOccurrenceType(StepType type)
static boolean
isVerbatimType(StepType type)
static StepType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TO_VERBATIM
public static final StepType TO_VERBATIM
-
DWCA_TO_VERBATIM
public static final StepType DWCA_TO_VERBATIM
-
XML_TO_VERBATIM
public static final StepType XML_TO_VERBATIM
-
ABCD_TO_VERBATIM
public static final StepType ABCD_TO_VERBATIM
-
FRAGMENTER
public static final StepType FRAGMENTER
-
VERBATIM_TO_IDENTIFIER
public static final StepType VERBATIM_TO_IDENTIFIER
-
VERBATIM_TO_INTERPRETED
public static final StepType VERBATIM_TO_INTERPRETED
-
INTERPRETED_TO_INDEX
public static final StepType INTERPRETED_TO_INDEX
-
EVENTS_VERBATIM_TO_INTERPRETED
public static final StepType EVENTS_VERBATIM_TO_INTERPRETED
-
EVENTS_INTERPRETED_TO_INDEX
public static final StepType EVENTS_INTERPRETED_TO_INDEX
-
EVENTS_HDFS_VIEW
public static final StepType EVENTS_HDFS_VIEW
-
VALIDATOR_UPLOAD_ARCHIVE
public static final StepType VALIDATOR_UPLOAD_ARCHIVE
-
VALIDATOR_VALIDATE_ARCHIVE
public static final StepType VALIDATOR_VALIDATE_ARCHIVE
-
VALIDATOR_DWCA_TO_VERBATIM
public static final StepType VALIDATOR_DWCA_TO_VERBATIM
-
VALIDATOR_XML_TO_VERBATIM
public static final StepType VALIDATOR_XML_TO_VERBATIM
-
VALIDATOR_ABCD_TO_VERBATIM
public static final StepType VALIDATOR_ABCD_TO_VERBATIM
-
VALIDATOR_TABULAR_TO_VERBATIM
public static final StepType VALIDATOR_TABULAR_TO_VERBATIM
-
VALIDATOR_VERBATIM_TO_INTERPRETED
public static final StepType VALIDATOR_VERBATIM_TO_INTERPRETED
-
VALIDATOR_INTERPRETED_TO_INDEX
public static final StepType VALIDATOR_INTERPRETED_TO_INDEX
-
VALIDATOR_COLLECT_METRICS
public static final StepType VALIDATOR_COLLECT_METRICS
-
-
Method Detail
-
values
public static 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 (StepType c : 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 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
-
isEventType
public static boolean isEventType(StepType type)
-
isOccurrenceType
public static boolean isOccurrenceType(StepType type)
-
isVerbatimType
public static boolean isVerbatimType(StepType type)
-
-