Package 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
-
-
Constructor Summary
Constructors Constructor Description StepDebugMeta()StepDebugMeta(StepMeta stepMeta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBreakPointListener(BreakPointListener breakPointListener)Add a break-point listener to the debug information.voidfireBreakPointListeners(TransDebugMeta transDebugMeta)org.pentaho.di.core.ConditiongetCondition()intgetNumberOfHits()List<Object[]>getRowBuffer()org.pentaho.di.core.row.RowMetaInterfacegetRowBufferMeta()intgetRowCount()StepMetagetStepMeta()booleanisPausingOnBreakPoint()booleanisReadingFirstRows()voidremoveBreakPointListener(BreakPointListener breakPointListener)Remove a break-point listener from the debug information.voidsetCondition(org.pentaho.di.core.Condition condition)voidsetNumberOfHits(int numberOfHits)voidsetPausingOnBreakPoint(boolean pausingOnBreakPoint)voidsetReadingFirstRows(boolean readingFirstRows)voidsetRowBuffer(List<Object[]> rowBuffer)voidsetRowBufferMeta(org.pentaho.di.core.row.RowMetaInterface rowBufferMeta)voidsetRowCount(int rowCount)voidsetStepMeta(StepMeta stepMeta)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StepDebugMeta
public StepDebugMeta()
-
StepDebugMeta
public StepDebugMeta(StepMeta stepMeta)
-
-
Method Detail
-
getStepMeta
public StepMeta getStepMeta()
- Returns:
- the stepMeta
-
setStepMeta
public void setStepMeta(StepMeta stepMeta)
- Parameters:
stepMeta- the stepMeta to set
-
getCondition
public org.pentaho.di.core.Condition getCondition()
- Returns:
- the condition
-
setCondition
public void setCondition(org.pentaho.di.core.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 org.pentaho.di.core.row.RowMetaInterface getRowBufferMeta()
- Returns:
- the rowBufferMeta
-
setRowBufferMeta
public void setRowBufferMeta(org.pentaho.di.core.row.RowMetaInterface rowBufferMeta)
- Parameters:
rowBufferMeta- the rowBufferMeta to set
-
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
-
-