Package org.apache.hop.www
Class HopServerPipelineStatus
- java.lang.Object
-
- org.apache.hop.www.HopServerPipelineStatus
-
public class HopServerPipelineStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description HopServerPipelineStatus()HopServerPipelineStatus(String pipelineName, String id, String statusDescription)HopServerPipelineStatus(Node pipelineStatusNode)
-
Method Summary
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HopServerPipelineStatus
public HopServerPipelineStatus()
-
HopServerPipelineStatus
public HopServerPipelineStatus(String pipelineName, String id, String statusDescription)
- Parameters:
pipelineName-statusDescription-
-
HopServerPipelineStatus
public HopServerPipelineStatus(Node pipelineStatusNode) throws HopException
- Throws:
HopException
-
-
Method Detail
-
getXml
public String getXml() throws HopException
- Throws:
HopException
-
getXml
public String getXml(boolean sendResultXmlWithStatus) throws HopException
- Throws:
HopException
-
fromXml
public static HopServerPipelineStatus 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
-
getPipelineName
public String getPipelineName()
- Returns:
- the pipelineName
-
setPipelineName
public void setPipelineName(String pipelineName)
- Parameters:
pipelineName- the pipelineName to set
-
getErrorDescription
public String getErrorDescription()
- Returns:
- the errorDescription
-
setErrorDescription
public void setErrorDescription(String errorDescription)
- Parameters:
errorDescription- the errorDescription to set
-
getTransformStatusList
public List<TransformStatus> getTransformStatusList()
- Returns:
- the transformStatusList
-
setTransformStatusList
public void setTransformStatusList(List<TransformStatus> transformStatusList)
- Parameters:
transformStatusList- the transformStatusList 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()
-
isStopped
public boolean isStopped()
-
isWaiting
public boolean isWaiting()
-
isFinished
public boolean isFinished()
-
getNrTransformErrors
public long getNrTransformErrors()
-
getResult
public Result getResult(PipelineMeta pipelineMeta)
-
getResult
public Result getResult()
- Returns:
- the result
-
setResult
public void setResult(Result result)
- Parameters:
result- the result to set
-
isPaused
public boolean isPaused()
- Returns:
- the paused
-
setPaused
public void setPaused(boolean paused)
- Parameters:
paused- the paused to set
-
getLastLoggingLineNr
public int getLastLoggingLineNr()
- Returns:
- the lastLoggingLineNr
-
setLastLoggingLineNr
public void setLastLoggingLineNr(int lastLoggingLineNr)
- Parameters:
lastLoggingLineNr- the lastLoggingLineNr to set
-
getFirstLoggingLineNr
public int getFirstLoggingLineNr()
- Returns:
- the firstLoggingLineNr
-
setFirstLoggingLineNr
public void setFirstLoggingLineNr(int firstLoggingLineNr)
- Parameters:
firstLoggingLineNr- the firstLoggingLineNr 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
-
-