Package org.apache.hop.www
Class HopServerStatus
- java.lang.Object
-
- org.apache.hop.www.HopServerStatus
-
public class HopServerStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description HopServerStatus()HopServerStatus(String statusDescription)HopServerStatus(String statusDescription, List<HopServerPipelineStatus> pipelineStatusList, List<HopServerWorkflowStatus> jobStatusList)HopServerStatus(Node statusNode)
-
Method Summary
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HopServerStatus
public HopServerStatus()
-
HopServerStatus
public HopServerStatus(String statusDescription)
-
HopServerStatus
public HopServerStatus(String statusDescription, List<HopServerPipelineStatus> pipelineStatusList, List<HopServerWorkflowStatus> jobStatusList)
- Parameters:
statusDescription-pipelineStatusList-jobStatusList-
-
HopServerStatus
public HopServerStatus(Node statusNode) throws HopException
- Throws:
HopException
-
-
Method Detail
-
getXml
public String getXml() throws HopException
- Throws:
HopException
-
fromXml
public static HopServerStatus 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
-
getPipelineStatusList
public List<HopServerPipelineStatus> getPipelineStatusList()
- Returns:
- the pipelineStatusList
-
setPipelineStatusList
public void setPipelineStatusList(List<HopServerPipelineStatus> pipelineStatusList)
- Parameters:
pipelineStatusList- the pipelineStatusList to set
-
getErrorDescription
public String getErrorDescription()
- Returns:
- the errorDescription
-
setErrorDescription
public void setErrorDescription(String errorDescription)
- Parameters:
errorDescription- the errorDescription to set
-
findPipelineStatus
public HopServerPipelineStatus findPipelineStatus(String pipelineName, String id)
-
findJobStatus
public HopServerWorkflowStatus findJobStatus(String workflowName, String id)
-
getWorkflowStatusList
public List<HopServerWorkflowStatus> getWorkflowStatusList()
- Returns:
- the jobStatusList
-
setWorkflowStatusList
public void setWorkflowStatusList(List<HopServerWorkflowStatus> workflowStatusList)
- Parameters:
workflowStatusList- the jobStatusList to set
-
getMemoryFree
public double getMemoryFree()
- Returns:
- the memoryFree
-
setMemoryFree
public void setMemoryFree(long memoryFree)
- Parameters:
memoryFree- the memoryFree to set
-
getMemoryTotal
public double getMemoryTotal()
- Returns:
- the memoryTotal
-
setMemoryTotal
public void setMemoryTotal(long memoryTotal)
- Parameters:
memoryTotal- the memoryTotal to set
-
getCpuCores
public int getCpuCores()
- Returns:
- the cpuCores
-
setCpuCores
public void setCpuCores(int cpuCores)
- Parameters:
cpuCores- the cpuCores to set
-
getCpuProcessTime
public long getCpuProcessTime()
- Returns:
- the cpuProcessTime
-
setCpuProcessTime
public void setCpuProcessTime(long cpuProcessTime)
- Parameters:
cpuProcessTime- the cpuProcessTime to set
-
setUptime
public void setUptime(long uptime)
-
getUptime
public long getUptime()
-
setThreadCount
public void setThreadCount(int threadCount)
-
getThreadCount
public int getThreadCount()
-
setLoadAvg
public void setLoadAvg(double loadAvg)
-
getLoadAvg
public double getLoadAvg()
-
setOsName
public void setOsName(String osName)
-
getOsName
public String getOsName()
-
setOsVersion
public void setOsVersion(String osVersion)
-
getOsVersion
public String getOsVersion()
-
setOsArchitecture
public void setOsArchitecture(String osArch)
-
getOsArchitecture
public String getOsArchitecture()
-
-