Package org.pentaho.di.trans.debug
Class StepDebugMeta
java.lang.Object
org.pentaho.di.trans.debug.StepDebugMeta
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBreakPointListener(BreakPointListener breakPointListener) Add a break-point listener to the debug information.voidfireBreakPointListeners(TransDebugMeta transDebugMeta) org.pentaho.di.core.Conditionintorg.pentaho.di.core.row.RowMetaInterfaceintbooleanbooleanvoidremoveBreakPointListener(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 Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
StepDebugMeta
public StepDebugMeta() -
StepDebugMeta
-
-
Method Details
-
getStepMeta
- Returns:
- the stepMeta
-
setStepMeta
- 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
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
Remove a break-point listener from the debug information.- Parameters:
breakPointListener- the break point listener to remove
-
fireBreakPointListeners
-
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
-
getRowBuffer
- Returns:
- the rowBuffer
-
setRowBuffer
- 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
-