org.rundeck.api.domain
Class RundeckSystemInfo

java.lang.Object
  extended by org.rundeck.api.domain.RundeckSystemInfo
All Implemented Interfaces:
Serializable

public class RundeckSystemInfo
extends Object
implements Serializable

Represents the RunDeck system info

Author:
Vincent Behar
See Also:
Serialized Form

Constructor Summary
RundeckSystemInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getActiveThreads()
           
 String getBaseDir()
           
 String getBuild()
           
 String getCpuLoadAverage()
           
 Date getDate()
           
 Long getFreeMemoryInBytes()
           
 String getJvmName()
           
 String getJvmVendor()
           
 String getJvmVersion()
           
 Long getMaxMemoryInBytes()
           
 String getNode()
           
 String getOsArch()
           
 String getOsName()
           
 String getOsVersion()
           
 Integer getRunningJobs()
           
 Date getStartDate()
           
 Long getTotalMemoryInBytes()
           
 String getUptime()
           
 Long getUptimeInMillis()
           
 String getVersion()
           
 int hashCode()
           
 void setActiveThreads(Integer activeThreads)
           
 void setBaseDir(String baseDir)
           
 void setBuild(String build)
           
 void setCpuLoadAverage(String cpuLoadAverage)
           
 void setDate(Date date)
           
 void setFreeMemoryInBytes(Long freeMemoryInBytes)
           
 void setJvmName(String jvmName)
           
 void setJvmVendor(String jvmVendor)
           
 void setJvmVersion(String jvmVersion)
           
 void setMaxMemoryInBytes(Long maxMemoryInBytes)
           
 void setNode(String node)
           
 void setOsArch(String osArch)
           
 void setOsName(String osName)
           
 void setOsVersion(String osVersion)
           
 void setRunningJobs(Integer runningJobs)
           
 void setStartDate(Date startDate)
           
 void setTotalMemoryInBytes(Long totalMemoryInBytes)
           
 void setUptimeInMillis(Long uptimeInMillis)
           
 void setVersion(String version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RundeckSystemInfo

public RundeckSystemInfo()
Method Detail

getUptime

public String getUptime()
Returns:
the uptime of the server, as a human-readable string : "42 days 7 hours 3 minutes 34 seconds"

getDate

public Date getDate()

setDate

public void setDate(Date date)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getBuild

public String getBuild()

setBuild

public void setBuild(String build)

getNode

public String getNode()

setNode

public void setNode(String node)

getBaseDir

public String getBaseDir()

setBaseDir

public void setBaseDir(String baseDir)

getOsArch

public String getOsArch()

setOsArch

public void setOsArch(String osArch)

getOsName

public String getOsName()

setOsName

public void setOsName(String osName)

getOsVersion

public String getOsVersion()

setOsVersion

public void setOsVersion(String osVersion)

getJvmName

public String getJvmName()

setJvmName

public void setJvmName(String jvmName)

getJvmVendor

public String getJvmVendor()

setJvmVendor

public void setJvmVendor(String jvmVendor)

getJvmVersion

public String getJvmVersion()

setJvmVersion

public void setJvmVersion(String jvmVersion)

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getUptimeInMillis

public Long getUptimeInMillis()

setUptimeInMillis

public void setUptimeInMillis(Long uptimeInMillis)

getCpuLoadAverage

public String getCpuLoadAverage()

setCpuLoadAverage

public void setCpuLoadAverage(String cpuLoadAverage)

getMaxMemoryInBytes

public Long getMaxMemoryInBytes()

setMaxMemoryInBytes

public void setMaxMemoryInBytes(Long maxMemoryInBytes)

getFreeMemoryInBytes

public Long getFreeMemoryInBytes()

setFreeMemoryInBytes

public void setFreeMemoryInBytes(Long freeMemoryInBytes)

getTotalMemoryInBytes

public Long getTotalMemoryInBytes()

setTotalMemoryInBytes

public void setTotalMemoryInBytes(Long totalMemoryInBytes)

getRunningJobs

public Integer getRunningJobs()

setRunningJobs

public void setRunningJobs(Integer runningJobs)

getActiveThreads

public Integer getActiveThreads()

setActiveThreads

public void setActiveThreads(Integer activeThreads)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.