Class SystemInfo
java.lang.Object
com.atlassian.bamboo.configuration.SystemInfo
- Direct Known Subclasses:
SystemInfoImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides a list of strings representing the state of this object.abstract StringReturns a multiline string describing this object's state.abstract @Nullable Stringabstract Stringabstract intabstract Stringabstract Stringabstract Stringabstract Stringabstract Dateabstract Stringabstract Collectionabstract @Nullable Stringabstract longabstract Stringabstract Stringabstract Stringabstract Stringabstract longabstract Stringabstract Stringabstract Stringabstract longabstract Stringabstract Stringabstract Collectionabstract StringgetSystemProperty(String key) abstract Stringabstract Stringabstract longabstract Stringabstract longabstract Stringabstract Stringabstract Stringabstract 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.
-