com.atlassian.bamboo.configuration
Class SystemInfo

java.lang.Object
  extended by 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

Constructor Summary
SystemInfo()
           
SystemInfo(StartupStatisticsBean startupStatisticsBean, BuildDirectoryManager buildDirectoryManager, com.atlassian.config.HomeLocator homeLocator)
           
 
Method Summary
 java.lang.String getApplicationHome()
           
 java.lang.String getAppServerContainer()
           
 int getAvailableProcessors()
           
 org.apache.activemq.broker.BrokerService getBroker()
           
 java.lang.String getBuildPath()
           
 java.lang.String getBuildWorkingDirectory()
           
 java.lang.String getConfigPath()
           
 java.util.Date getCurrentDate()
           
 java.lang.String getCurrentDirectory()
           
 java.util.Collection getEnvironmentVariables()
           
 java.lang.String getFreeDiskSpace()
           
 long getFreeMemory()
           
 java.lang.String getHostName()
           
 java.lang.String getIndexSize()
           
 java.lang.String getIpAddress()
           
 java.lang.String getOperatingSystem()
           
 java.lang.String getOperatingSystemArchitecture()
           
 long getStartupTimestamp()
           
 java.lang.String getSystemDate()
           
 java.lang.String getSystemEncoding()
           
 java.util.Collection getSystemProperties()
           
 java.lang.String getSystemProperty(java.lang.String key)
           
 java.lang.String getSystemTime()
           
 java.lang.String getTempDir()
           
 long getTotalMemory()
           
 java.lang.String getUptime()
           
 long getUsedMemory()
           
 java.lang.String getUserLocale()
           
 java.lang.String getUserName()
           
 java.lang.String getUserTimezone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemInfo

public SystemInfo()

SystemInfo

public SystemInfo(@Nullable
                  StartupStatisticsBean startupStatisticsBean,
                  @Nullable
                  BuildDirectoryManager buildDirectoryManager,
                  @Nullable
                  com.atlassian.config.HomeLocator homeLocator)
Method Detail

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()

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()

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 © 2008 Atlassian Pty Ltd. All Rights Reserved.