Package org.apache.hop.pipeline.debug
Class PipelineDebugMeta
- java.lang.Object
-
- org.apache.hop.pipeline.debug.PipelineDebugMeta
-
public class PipelineDebugMeta extends Object
For a certain pipeline, we want to be able to insert break-points into a pipeline. These breakpoints can be applied to transforms. When a certain condition is met, the pipeline will be paused and the caller will be informed of this fact through a listener system.
-
-
Constructor Summary
Constructors Constructor Description PipelineDebugMeta(PipelineMeta pipelineMeta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBreakPointListers(IBreakPointListener breakPointListener)Add a break point listener to all defined transform debug meta datavoidaddRowListenersToPipeline(IPipelineEngine<PipelineMeta> pipeline)intgetNrOfUsedTransforms()PipelineMetagetPipelineMeta()intgetTotalNumberOfHits()Map<TransformMeta,TransformDebugMeta>getTransformDebugMetaMap()booleanisDataShown()Gets dataShownvoidsetDataShown(boolean dataShown)Sets dataShownvoidsetPipelineMeta(PipelineMeta pipelineMeta)voidsetTransformDebugMetaMap(Map<TransformMeta,TransformDebugMeta> transformDebugMeta)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PipelineDebugMeta
public PipelineDebugMeta(PipelineMeta pipelineMeta)
-
-
Method Detail
-
getPipelineMeta
public PipelineMeta getPipelineMeta()
- Returns:
- the referenced pipeline metadata
-
setPipelineMeta
public void setPipelineMeta(PipelineMeta pipelineMeta)
- Parameters:
pipelineMeta- the pipeline metadata to reference
-
getTransformDebugMetaMap
public Map<TransformMeta,TransformDebugMeta> getTransformDebugMetaMap()
- Returns:
- the map that contains the debugging information per transform
-
setTransformDebugMetaMap
public void setTransformDebugMetaMap(Map<TransformMeta,TransformDebugMeta> transformDebugMeta)
- Parameters:
transformDebugMeta- the map that contains the debugging information per transform
-
addRowListenersToPipeline
public void addRowListenersToPipeline(IPipelineEngine<PipelineMeta> pipeline)
-
addBreakPointListers
public void addBreakPointListers(IBreakPointListener breakPointListener)
Add a break point listener to all defined transform 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 transforms.
-
getNrOfUsedTransforms
public int getNrOfUsedTransforms()
- Returns:
- the number of transforms used to preview or debug on
-
isDataShown
public boolean isDataShown()
Gets dataShown- Returns:
- value of dataShown
-
setDataShown
public void setDataShown(boolean dataShown)
Sets dataShown- Parameters:
dataShown- value of dataShown
-
-