Package org.pentaho.di.www
Class SlaveServerJobStatus
java.lang.Object
org.pentaho.di.www.SlaveServerJobStatus
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlaveServerJobStatus(String transName, String id, String statusDescription) SlaveServerJobStatus(Node jobStatusNode) -
Method Summary
Modifier and TypeMethodDescriptionstatic SlaveServerJobStatusintgetId()intorg.pentaho.di.core.ResultgetXML()booleanbooleanbooleanbooleanvoidsetErrorDescription(String errorDescription) voidsetFirstLoggingLineNr(int firstLoggingLineNr) voidvoidsetJobName(String jobName) voidsetLastLoggingLineNr(int lastLoggingLineNr) voidsetLogDate(Date logDate) voidsetLoggingString(String loggingString) voidsetResult(org.pentaho.di.core.Result result) voidsetStatusDescription(String statusDescription)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
SlaveServerJobStatus
public SlaveServerJobStatus() -
SlaveServerJobStatus
- Parameters:
transName-statusDescription-
-
SlaveServerJobStatus
public SlaveServerJobStatus(Node jobStatusNode) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
getXML
- Throws:
org.pentaho.di.core.exception.KettleException
-
fromXML
public static SlaveServerJobStatus fromXML(String xml) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
getStatusDescription
- Returns:
- the statusDescription
-
setStatusDescription
- Parameters:
statusDescription- the statusDescription to set
-
getJobName
- Returns:
- the job name
-
setJobName
- Parameters:
jobName- the job name to set
-
getErrorDescription
- Returns:
- the errorDescription
-
setErrorDescription
- Parameters:
errorDescription- the errorDescription to set
-
getLoggingString
- Returns:
- the loggingString
-
setLoggingString
- Parameters:
loggingString- the loggingString to set
-
isRunning
public boolean isRunning() -
isWaiting
public boolean isWaiting() -
isFinished
public boolean isFinished() -
isStopped
public boolean isStopped() -
getResult
public org.pentaho.di.core.Result getResult()- Returns:
- the result
-
setResult
public void setResult(org.pentaho.di.core.Result result) - Parameters:
result- the result to set
-
getFirstLoggingLineNr
public int getFirstLoggingLineNr()- Returns:
- the firstLoggingLineNr
-
setFirstLoggingLineNr
public void setFirstLoggingLineNr(int firstLoggingLineNr) - Parameters:
firstLoggingLineNr- the firstLoggingLineNr to set
-
getLastLoggingLineNr
public int getLastLoggingLineNr()- Returns:
- the lastLoggingLineNr
-
setLastLoggingLineNr
public void setLastLoggingLineNr(int lastLoggingLineNr) - Parameters:
lastLoggingLineNr- the lastLoggingLineNr to set
-
getLogDate
- Returns:
- the logDate
-
setLogDate
- Parameters:
the- logDate
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-