org.pentaho.di.trans
Class TransTestFactory
java.lang.Object
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)
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
TransTestFactory
public TransTestFactory()
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