Class SystemInfo
java.lang.Object
com.atlassian.bamboo.configuration.SystemInfo
- Direct Known Subclasses:
SystemInfoImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvides a list of strings representing the state of this object.abstract String
Returns a multiline string describing this object's state.abstract @Nullable String
abstract String
abstract int
abstract String
abstract String
abstract String
abstract String
abstract Date
abstract String
abstract Collection
abstract @Nullable String
abstract long
abstract String
abstract String
abstract String
abstract String
abstract long
abstract String
abstract String
abstract String
abstract long
abstract String
abstract String
abstract Collection
abstract String
getSystemProperty
(String key) abstract String
abstract String
abstract long
abstract String
abstract long
abstract String
abstract String
abstract String
abstract String
-
Constructor Details
-
SystemInfo
public SystemInfo()
-
-
Method Details
-
getStartupTimestamp
public abstract long getStartupTimestamp() -
getCurrentDate
-
getCurrentDirectory
-
getUptime
-
getHostName
-
getIpAddress
-
getTempDir
-
getSystemDate
-
getSystemTime
-
getUserName
-
getUserTimezone
-
getUserLocale
-
getUserHome
-
getSystemEncoding
-
getOperatingSystem
-
getOperatingSystemArchitecture
-
getTotalMemory
public abstract long getTotalMemory() -
getFreeMemory
public abstract long getFreeMemory() -
getUsedMemory
public abstract long getUsedMemory() -
getMaxMemory
public abstract long getMaxMemory() -
getAvailableProcessors
public abstract int getAvailableProcessors() -
getLocalAgents
-
getApplicationHome
-
getBambooLogsDirectoryPath
-
getBuildWorkingDirectory
-
getArtifactsDirectory
-
getFreeDiskSpace
- Returns:
- free disk space or null if it could not be retrieved
-
getSystemProperty
-
getConfigPath
-
getBuildPath
-
getIndexSize
-
getEnvironmentVariables
-
getSystemProperties
-
fullOutput
Returns a multiline string describing this object's state.- Returns:
- A multiline string representation of the object's state.
-
fullMultilineOutput
Provides a list of strings representing the state of this object.- Returns:
- A list of strings, each representing a line from the object's multiline string representation, detailing the state of one of the fields of this class.
-