Package org.apache.hop.www
Class HopServerWorkflowStatus
- java.lang.Object
-
- org.apache.hop.www.HopServerWorkflowStatus
-
public class HopServerWorkflowStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description HopServerWorkflowStatus()HopServerWorkflowStatus(String pipelineName, String id, String statusDescription)HopServerWorkflowStatus(Node workflowStatusNode)
-
Method Summary
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HopServerWorkflowStatus
public HopServerWorkflowStatus()
-
HopServerWorkflowStatus
public HopServerWorkflowStatus(String pipelineName, String id, String statusDescription)
- Parameters:
pipelineName-statusDescription-
-
HopServerWorkflowStatus
public HopServerWorkflowStatus(Node workflowStatusNode) throws HopException
- Throws:
HopException
-
-
Method Detail
-
getXml
public String getXml() throws HopException
- Throws:
HopException
-
fromXml
public static HopServerWorkflowStatus fromXml(String xml) throws HopException
- Throws:
HopException
-
getStatusDescription
public String getStatusDescription()
- Returns:
- the statusDescription
-
setStatusDescription
public void setStatusDescription(String statusDescription)
- Parameters:
statusDescription- the statusDescription to set
-
getWorkflowName
public String getWorkflowName()
- Returns:
- the workflow name
-
setWorkflowName
public void setWorkflowName(String workflowName)
- Parameters:
workflowName- the workflow 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 Result getResult()
- Returns:
- the result
-
setResult
public void setResult(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:
logDate-
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id- the id to set
-
getExecutionStartDate
public Date getExecutionStartDate()
Gets executionStartDate- Returns:
- value of executionStartDate
-
setExecutionStartDate
public void setExecutionStartDate(Date executionStartDate)
- Parameters:
executionStartDate- The executionStartDate to set
-
getExecutionEndDate
public Date getExecutionEndDate()
Gets executionEndDate- Returns:
- value of executionEndDate
-
setExecutionEndDate
public void setExecutionEndDate(Date executionEndDate)
- Parameters:
executionEndDate- The executionEndDate to set
-
-