com.atlassian.bamboo.configuration
Class SystemInfo
java.lang.Object
com.atlassian.bamboo.configuration.SystemInfo
- All Implemented Interfaces:
- java.io.Serializable
public class SystemInfo
- extends java.lang.Object
- implements java.io.Serializable
POJO for presenting the system runtime information.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SystemInfo
public SystemInfo()
SystemInfo
public SystemInfo(@Nullable
StartupStatisticsBean startupStatisticsBean,
@Nullable
BuildDirectoryManager buildDirectoryManager,
@Nullable
com.atlassian.config.HomeLocator homeLocator)
getStartupTimestamp
public long getStartupTimestamp()
getCurrentDate
public java.util.Date getCurrentDate()
getCurrentDirectory
public java.lang.String getCurrentDirectory()
getUptime
public java.lang.String getUptime()
getHostName
public java.lang.String getHostName()
getIpAddress
public java.lang.String getIpAddress()
getTempDir
public java.lang.String getTempDir()
getSystemDate
public java.lang.String getSystemDate()
getSystemTime
public java.lang.String getSystemTime()
getUserName
public java.lang.String getUserName()
getUserTimezone
public java.lang.String getUserTimezone()
getUserLocale
public java.lang.String getUserLocale()
getUserHome
public java.lang.String getUserHome()
getSystemEncoding
public java.lang.String getSystemEncoding()
getOperatingSystem
public java.lang.String getOperatingSystem()
getOperatingSystemArchitecture
public java.lang.String getOperatingSystemArchitecture()
getAppServerContainer
public java.lang.String getAppServerContainer()
getTotalMemory
public long getTotalMemory()
getFreeMemory
public long getFreeMemory()
getUsedMemory
public long getUsedMemory()
getAvailableProcessors
public int getAvailableProcessors()
getApplicationHome
public java.lang.String getApplicationHome()
getBuildWorkingDirectory
public java.lang.String getBuildWorkingDirectory()
getArtifactsDirectory
public java.lang.String getArtifactsDirectory()
getFreeDiskSpace
public java.lang.String getFreeDiskSpace()
getSystemProperty
public java.lang.String getSystemProperty(java.lang.String key)
getConfigPath
public java.lang.String getConfigPath()
getBuildPath
public java.lang.String getBuildPath()
getIndexSize
public java.lang.String getIndexSize()
getBroker
public org.apache.activemq.broker.BrokerService getBroker()
getEnvironmentVariables
public java.util.Collection getEnvironmentVariables()
getSystemProperties
public java.util.Collection getSystemProperties()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.