Package org.pentaho.di.trans.step
Class StepStatus
- java.lang.Object
-
- org.pentaho.di.trans.step.StepStatus
-
public class StepStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description StepStatus()StepStatus(StepInterface baseStep)StepStatus(Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepStatusfromXML(String xml)intgetCopy()longgetErrors()StringgetHTMLTableRow(boolean urlInStepname)longgetLinesInput()longgetLinesOutput()longgetLinesRead()longgetLinesRejected()longgetLinesUpdated()longgetLinesWritten()String[]getPeekFields()StringgetPriority()org.pentaho.di.core.row.RowMetaInterfacegetSampleRowMeta()List<Object[]>getSampleRows()doublegetSeconds()StringgetSpeed()String[]getSpoonSlaveLogFields()StringgetStatusDescription()StringgetStepname()String[]getTransLogFields()String[]getTransLogFields(String overrideDescription)StringgetXML()booleanisPaused()booleanisStopped()voidsetCopy(int copy)voidsetErrors(long errors)voidsetLinesInput(long linesInput)voidsetLinesOutput(long linesOutput)voidsetLinesRead(long linesRead)voidsetLinesRejected(long linesRejected)voidsetLinesUpdated(long linesUpdated)voidsetLinesWritten(long linesWritten)voidsetPaused(boolean paused)voidsetPriority(String priority)voidsetSampleRowMeta(org.pentaho.di.core.row.RowMetaInterface sampleRowMeta)voidsetSampleRows(List<Object[]> sampleRows)voidsetSeconds(double seconds)voidsetSpeed(String speed)voidsetStatusDescription(String statusDescription)voidsetStepname(String stepname)voidsetStopped(boolean stopped)voidupdateAll(StepInterface baseStep)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StepStatus
public StepStatus()
-
StepStatus
public StepStatus(StepInterface baseStep)
-
StepStatus
public StepStatus(Node node) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
updateAll
public void updateAll(StepInterface baseStep)
-
getHTMLTableRow
public String getHTMLTableRow(boolean urlInStepname)
-
getXML
public String getXML() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
fromXML
public StepStatus fromXML(String xml) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getTransLogFields
public String[] getTransLogFields()
-
getSpoonSlaveLogFields
public String[] getSpoonSlaveLogFields()
-
getPeekFields
public String[] getPeekFields()
-
getCopy
public int getCopy()
- Returns:
- the copy
-
setCopy
public void setCopy(int copy)
- Parameters:
copy- the copy to set
-
getErrors
public long getErrors()
- Returns:
- the errors
-
setErrors
public void setErrors(long errors)
- Parameters:
errors- the errors to set
-
getLinesInput
public long getLinesInput()
- Returns:
- the linesInput
-
setLinesInput
public void setLinesInput(long linesInput)
- Parameters:
linesInput- the linesInput to set
-
getLinesOutput
public long getLinesOutput()
- Returns:
- the linesOutput
-
setLinesOutput
public void setLinesOutput(long linesOutput)
- Parameters:
linesOutput- the linesOutput to set
-
getLinesRead
public long getLinesRead()
- Returns:
- the linesRead
-
setLinesRead
public void setLinesRead(long linesRead)
- Parameters:
linesRead- the linesRead to set
-
getLinesUpdated
public long getLinesUpdated()
- Returns:
- the linesUpdated
-
setLinesUpdated
public void setLinesUpdated(long linesUpdated)
- Parameters:
linesUpdated- the linesUpdated to set
-
getLinesWritten
public long getLinesWritten()
- Returns:
- the linesWritten
-
setLinesWritten
public void setLinesWritten(long linesWritten)
- Parameters:
linesWritten- the linesWritten to set
-
getPriority
public String getPriority()
- Returns:
- the priority
-
setPriority
public void setPriority(String priority)
- Parameters:
priority- the priority to set
-
getSeconds
public double getSeconds()
- Returns:
- the seconds
-
setSeconds
public void setSeconds(double seconds)
- Parameters:
seconds- the seconds to set
-
getSpeed
public String getSpeed()
- Returns:
- the speed
-
setSpeed
public void setSpeed(String speed)
- Parameters:
speed- the speed to set
-
getStatusDescription
public String getStatusDescription()
- Returns:
- the statusDescription
-
setStatusDescription
public void setStatusDescription(String statusDescription)
- Parameters:
statusDescription- the statusDescription to set
-
getStepname
public String getStepname()
- Returns:
- the stepname
-
setStepname
public void setStepname(String stepname)
- Parameters:
stepname- the stepname to set
-
getLinesRejected
public long getLinesRejected()
- Returns:
- the linesRejected
-
setLinesRejected
public void setLinesRejected(long linesRejected)
- Parameters:
linesRejected- the linesRejected to set
-
isStopped
public boolean isStopped()
- Returns:
- the stopped
-
setStopped
public void setStopped(boolean stopped)
- Parameters:
stopped- the stopped to set
-
isPaused
public boolean isPaused()
- Returns:
- the paused
-
setPaused
public void setPaused(boolean paused)
- Parameters:
paused- the paused to set
-
getSampleRowMeta
public org.pentaho.di.core.row.RowMetaInterface getSampleRowMeta()
-
setSampleRowMeta
public void setSampleRowMeta(org.pentaho.di.core.row.RowMetaInterface sampleRowMeta)
-
-