org.pentaho.di.trans
Class TransTestFactory

java.lang.Object
  extended by org.pentaho.di.trans.TransTestFactory

public class TransTestFactory
extends Object

We can use this factory to create transformations with a source and target step.
The source step is an Injector step.
The target step is a dummy step.
The middle step is the step specified.

Author:
Matt Casters (mcasters@pentaho.org)

Field Summary
static String DUMMY_STEPNAME
           
static String INJECTOR_STEPNAME
           
 
Constructor Summary
TransTestFactory()
           
 
Method Summary
static List<RowMetaAndData> executeTestTransformation(TransMeta transMeta, String injectorStepname, String testStepname, String dummyStepname, List<RowMetaAndData> inputData)
           
static TransMeta generateTestTransformation(VariableSpace parent, StepMetaInterface oneMeta, String oneStepname)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INJECTOR_STEPNAME

public static final String INJECTOR_STEPNAME
See Also:
Constant Field Values

DUMMY_STEPNAME

public static final String DUMMY_STEPNAME
See Also:
Constant Field Values
Constructor Detail

TransTestFactory

public TransTestFactory()
Method Detail

generateTestTransformation

public static TransMeta generateTestTransformation(VariableSpace parent,
                                                   StepMetaInterface oneMeta,
                                                   String oneStepname)

executeTestTransformation

public static List<RowMetaAndData> executeTestTransformation(TransMeta transMeta,
                                                             String injectorStepname,
                                                             String testStepname,
                                                             String dummyStepname,
                                                             List<RowMetaAndData> inputData)
                                                      throws KettleException
Throws:
KettleException