Enum PipelineType
- java.lang.Object
-
- java.lang.Enum<PipelineType>
-
- com.caplin.transformer.module.pipeline.PipelineType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PipelineType>
public enum PipelineType extends java.lang.Enum<PipelineType>
Enumeration defining valid types for methods that can be registered for availability in pipeline modules
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DSDATA
RepresentsTransformerData
FLOAT
RepresentsDouble
INTEGER
RepresentsInteger
STRING
RepresentsString
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipelineType
findType(java.lang.Class clazz)
java.lang.Class<?>
getClazz()
Get the class representing this pipeline typeint
getNativeType()
Get the index of the type in the native pipeline type enumerationstatic PipelineType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PipelineType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final PipelineType INTEGER
RepresentsInteger
-
STRING
public static final PipelineType STRING
RepresentsString
-
FLOAT
public static final PipelineType FLOAT
RepresentsDouble
-
DSDATA
public static final PipelineType DSDATA
RepresentsTransformerData
-
-
Method Detail
-
values
public static 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 (PipelineType c : 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 PipelineType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNativeType
public int getNativeType()
Get the index of the type in the native pipeline type enumeration- Returns:
- the type index used in the pipeline implementation
-
getClazz
public java.lang.Class<?> getClazz()
Get the class representing this pipeline type- Returns:
- class representing the pipeline type
-
findType
public static PipelineType findType(java.lang.Class clazz)
-
-