Package org.pentaho.di.www
Class SlaveServerJobStatus
- java.lang.Object
-
- org.pentaho.di.www.SlaveServerJobStatus
-
public class SlaveServerJobStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description SlaveServerJobStatus()
SlaveServerJobStatus(String transName, String id, String statusDescription)
SlaveServerJobStatus(Node jobStatusNode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlaveServerJobStatus
fromXML(String xml)
String
getErrorDescription()
int
getFirstLoggingLineNr()
String
getId()
String
getJobName()
int
getLastLoggingLineNr()
Date
getLogDate()
String
getLoggingString()
org.pentaho.di.core.Result
getResult()
String
getStatusDescription()
String
getXML()
boolean
isFinished()
boolean
isRunning()
boolean
isStopped()
boolean
isWaiting()
void
setErrorDescription(String errorDescription)
void
setFirstLoggingLineNr(int firstLoggingLineNr)
void
setId(String id)
void
setJobName(String jobName)
void
setLastLoggingLineNr(int lastLoggingLineNr)
void
setLogDate(Date logDate)
void
setLoggingString(String loggingString)
void
setResult(org.pentaho.di.core.Result result)
void
setStatusDescription(String statusDescription)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SlaveServerJobStatus
public SlaveServerJobStatus()
-
SlaveServerJobStatus
public SlaveServerJobStatus(String transName, String id, String statusDescription)
- Parameters:
transName
-statusDescription
-
-
SlaveServerJobStatus
public SlaveServerJobStatus(Node jobStatusNode) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
getXML
public String getXML() throws org.pentaho.di.core.exception.KettleException
- 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
public String getStatusDescription()
- Returns:
- the statusDescription
-
setStatusDescription
public void setStatusDescription(String statusDescription)
- Parameters:
statusDescription
- the statusDescription to set
-
getJobName
public String getJobName()
- Returns:
- the job name
-
setJobName
public void setJobName(String jobName)
- Parameters:
jobName
- the job name to set
-
getErrorDescription
public String getErrorDescription()
- Returns:
- the errorDescription
-
setErrorDescription
public void setErrorDescription(String errorDescription)
- Parameters:
errorDescription
- the errorDescription to set
-
getLoggingString
public String getLoggingString()
- Returns:
- the loggingString
-
setLoggingString
public void setLoggingString(String loggingString)
- 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
public Date getLogDate()
- Returns:
- the logDate
-
setLogDate
public void setLogDate(Date logDate)
- Parameters:
the
- logDate
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id
- the id to set
-
-