Package org.pentaho.di.trans.debug
Class TransDebugMeta
java.lang.Object
org.pentaho.di.trans.debug.TransDebugMeta
For a certain transformation, we want to be able to insert break-points into a transformation. These breakpoints can
be applied to steps. When a certain condition is met, the transformation will be paused and the caller will be
informed of this fact through a listener system.
- Author:
- Matt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreakPointListers
(BreakPointListener breakPointListener) Add a break point listener to all defined step debug meta datavoid
int
int
void
setStepDebugMetaMap
(Map<StepMeta, StepDebugMeta> stepDebugMeta) void
setTransMeta
(TransMeta transMeta)
-
Field Details
-
XML_TAG
- See Also:
-
XML_TAG_STEP_DEBUG_METAS
- See Also:
-
-
Constructor Details
-
TransDebugMeta
-
-
Method Details
-
getTransMeta
- Returns:
- the referenced transformation metadata
-
setTransMeta
- Parameters:
transMeta
- the transformation metadata to reference
-
getStepDebugMetaMap
- Returns:
- the map that contains the debugging information per step
-
setStepDebugMetaMap
- Parameters:
stepDebugMeta
- the map that contains the debugging information per step
-
addRowListenersToTransformation
-
addBreakPointListers
Add a break point listener to all defined step debug meta data- Parameters:
breakPointListener
- the break point listener to add
-
getTotalNumberOfHits
public int getTotalNumberOfHits()- Returns:
- the number of times the break-point listeners got called. This is the total for all the steps.
-
getNrOfUsedSteps
public int getNrOfUsedSteps()- Returns:
- the number of steps used to preview or debug on
-