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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreakPointListener
(BreakPointListener breakPointListener) Add a break-point listener to the debug information.void
fireBreakPointListeners
(TransDebugMeta transDebugMeta) org.pentaho.di.core.Condition
int
org.pentaho.di.core.row.RowMetaInterface
int
boolean
boolean
void
removeBreakPointListener
(BreakPointListener breakPointListener) Remove a break-point listener from the debug information.void
setCondition
(org.pentaho.di.core.Condition condition) void
setNumberOfHits
(int numberOfHits) void
setPausingOnBreakPoint
(boolean pausingOnBreakPoint) void
setReadingFirstRows
(boolean readingFirstRows) void
setRowBuffer
(List<Object[]> rowBuffer) void
setRowBufferMeta
(org.pentaho.di.core.row.RowMetaInterface rowBufferMeta) void
setRowCount
(int rowCount) void
setStepMeta
(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
-