Package org.apache.hop.pipeline
Enum PipelineMeta.PipelineType
- java.lang.Object
-
- java.lang.Enum<PipelineMeta.PipelineType>
-
- org.apache.hop.pipeline.PipelineMeta.PipelineType
-
- All Implemented Interfaces:
Serializable,Comparable<PipelineMeta.PipelineType>
- Enclosing class:
- PipelineMeta
public static enum PipelineMeta.PipelineType extends Enum<PipelineMeta.PipelineType>
The PipelineType enum describes the various types of pipelines in terms of execution, including Normal, Serial Single-Threaded, and Single-Threaded.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NormalA normal pipeline.SingleThreadedA single-threaded pipeline.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Gets the code corresponding to the pipeline type.StringgetDescription()Gets the description of the pipeline type.static PipelineMeta.PipelineTypegetPipelineTypeByCode(String pipelineTypeCode)Gets the pipeline type by code.static String[]getPipelineTypesDescriptions()Gets the pipeline types descriptions.static PipelineMeta.PipelineTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PipelineMeta.PipelineType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final PipelineMeta.PipelineType Normal
A normal pipeline.
-
SingleThreaded
public static final PipelineMeta.PipelineType SingleThreaded
A single-threaded pipeline.
-
-
Method Detail
-
values
public static PipelineMeta.PipelineType[] 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 (PipelineMeta.PipelineType c : PipelineMeta.PipelineType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PipelineMeta.PipelineType 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
-
getCode
public String getCode()
Gets the code corresponding to the pipeline type.- Returns:
- the code
-
getDescription
public String getDescription()
Gets the description of the pipeline type.- Returns:
- the description
-
getPipelineTypeByCode
public static PipelineMeta.PipelineType getPipelineTypeByCode(String pipelineTypeCode)
Gets the pipeline type by code.- Parameters:
pipelineTypeCode- the pipeline type code- Returns:
- the pipeline type by code
-
getPipelineTypesDescriptions
public static String[] getPipelineTypesDescriptions()
Gets the pipeline types descriptions.- Returns:
- the pipeline types descriptions
-
-