Class 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 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
      • 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