org.pentaho.di.trans
Enum TransMeta.TransformationType

java.lang.Object
  extended by java.lang.Enum<TransMeta.TransformationType>
      extended by org.pentaho.di.trans.TransMeta.TransformationType
All Implemented Interfaces:
Serializable, Comparable<TransMeta.TransformationType>
Enclosing class:
TransMeta

public static enum TransMeta.TransformationType
extends Enum<TransMeta.TransformationType>

The TransformationType enum describes the various types of transformations in terms of execution, including Normal, Serial Single-Threaded, and Single-Threaded.


Enum Constant Summary
Normal
          A normal transformation.
SerialSingleThreaded
          A serial single-threaded transformation.
SingleThreaded
          A single-threaded transformation.
 
Method Summary
 String getCode()
          Gets the code corresponding to the transformation type.
 String getDescription()
          Gets the description of the transformation type.
static TransMeta.TransformationType getTransformationTypeByCode(String transTypeCode)
          Gets the transformation type by code.
static String[] getTransformationTypesDescriptions()
          Gets the transformation types descriptions.
static TransMeta.TransformationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TransMeta.TransformationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Normal

public static final TransMeta.TransformationType Normal
A normal transformation.


SerialSingleThreaded

public static final TransMeta.TransformationType SerialSingleThreaded
A serial single-threaded transformation.


SingleThreaded

public static final TransMeta.TransformationType SingleThreaded
A single-threaded transformation.

Method Detail

values

public static TransMeta.TransformationType[] 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 (TransMeta.TransformationType c : TransMeta.TransformationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransMeta.TransformationType 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 name
NullPointerException - if the argument is null

getCode

public String getCode()
Gets the code corresponding to the transformation type.

Returns:
the code

getDescription

public String getDescription()
Gets the description of the transformation type.

Returns:
the description

getTransformationTypeByCode

public static TransMeta.TransformationType getTransformationTypeByCode(String transTypeCode)
Gets the transformation type by code.

Parameters:
transTypeCode - the trans type code
Returns:
the transformation type by code

getTransformationTypesDescriptions

public static String[] getTransformationTypesDescriptions()
Gets the transformation types descriptions.

Returns:
the transformation types descriptions