org.pentaho.di.trans.debug
Class StepDebugMeta
java.lang.Object
org.pentaho.di.trans.debug.StepDebugMeta
public class StepDebugMeta
- extends Object
This class is used to define debugging meta data for a certain step.
Basically it defines for which condition a break-point becomes active.
- Author:
- Matt
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
StepDebugMeta
public StepDebugMeta()
StepDebugMeta
public StepDebugMeta(StepMeta stepMeta)
getStepMeta
public StepMeta getStepMeta()
- Returns:
- the stepMeta
setStepMeta
public void setStepMeta(StepMeta stepMeta)
- Parameters:
stepMeta
- the stepMeta to set
getCondition
public Condition getCondition()
- Returns:
- the condition
setCondition
public void setCondition(Condition condition)
- Parameters:
condition
- the condition to set
addBreakPointListener
public void addBreakPointListener(BreakPointListener breakPointListener)
- Add a break-point listener to the debug information.
The listener will be called whenever a condition is hit
- Parameters:
breakPointListener
- the break point listener to add
removeBreakPointListener
public void removeBreakPointListener(BreakPointListener breakPointListener)
- Remove a break-point listener from the debug information.
- Parameters:
breakPointListener
- the break point listener to remove
fireBreakPointListeners
public void fireBreakPointListeners(TransDebugMeta transDebugMeta)
getRowCount
public int getRowCount()
- Returns:
- the rowCount
setRowCount
public void setRowCount(int rowCount)
- Parameters:
rowCount
- the rowCount to set
isReadingFirstRows
public boolean isReadingFirstRows()
- Returns:
- the readingFirstRows
setReadingFirstRows
public void setReadingFirstRows(boolean readingFirstRows)
- Parameters:
readingFirstRows
- the readingFirstRows to set
isPausingOnBreakPoint
public boolean isPausingOnBreakPoint()
- Returns:
- the pausingOnBreakPoint
setPausingOnBreakPoint
public void setPausingOnBreakPoint(boolean pausingOnBreakPoint)
- Parameters:
pausingOnBreakPoint
- the pausingOnBreakPoint to set
getRowBufferMeta
public RowMetaInterface getRowBufferMeta()
- Returns:
- the rowBufferMeta
setRowBufferMeta
public void setRowBufferMeta(RowMetaInterface rowBufferMeta)
- Parameters:
rowBufferMeta
- the rowBufferMeta to set
getRowBuffer
public List<Object[]> getRowBuffer()
- Returns:
- the rowBuffer
setRowBuffer
public void setRowBuffer(List<Object[]> rowBuffer)
- Parameters:
rowBuffer
- the rowBuffer to set
getNumberOfHits
public int getNumberOfHits()
- Returns:
- the number of times the break-point listeners got called
setNumberOfHits
public void setNumberOfHits(int numberOfHits)
- Parameters:
numberOfHits
- the number of times the break-point listeners got called