@PublicApi public class SystemInfoImpl extends SystemInfo implements Serializable
Constructor and Description |
---|
SystemInfoImpl() |
SystemInfoImpl(StartupStatisticsBean startupStatisticsBean,
BuildDirectoryManager buildDirectoryManager,
com.atlassian.config.HomeLocator homeLocator) |
Modifier and Type | Method and Description |
---|---|
String |
fullOutput() |
String |
getApplicationHome() |
String |
getArtifactsDirectory() |
int |
getAvailableProcessors() |
String |
getBambooLogsDirectoryPath() |
String |
getBuildPath() |
String |
getBuildWorkingDirectory() |
String |
getConfigPath() |
Date |
getCurrentDate() |
String |
getCurrentDirectory() |
Collection |
getEnvironmentVariables() |
String |
getFreeDiskSpace() |
long |
getFreeMemory() |
String |
getHostName() |
String |
getIndexSize() |
String |
getIpAddress() |
String |
getOperatingSystem() |
String |
getOperatingSystemArchitecture() |
long |
getStartupTimestamp() |
String |
getSystemDate() |
String |
getSystemEncoding() |
Collection |
getSystemProperties() |
String |
getSystemProperty(String key) |
String |
getSystemTime() |
String |
getTempDir() |
long |
getTotalMemory() |
String |
getUptime() |
long |
getUsedMemory() |
String |
getUserHome() |
String |
getUserLocale() |
String |
getUserName() |
String |
getUserTimezone() |
String |
toString() |
public SystemInfoImpl()
public SystemInfoImpl(@Nullable StartupStatisticsBean startupStatisticsBean, @Nullable BuildDirectoryManager buildDirectoryManager, @Nullable com.atlassian.config.HomeLocator homeLocator)
public long getStartupTimestamp()
getStartupTimestamp
in class SystemInfo
public Date getCurrentDate()
getCurrentDate
in class SystemInfo
public String getCurrentDirectory()
getCurrentDirectory
in class SystemInfo
public String getUptime()
getUptime
in class SystemInfo
public String getHostName()
getHostName
in class SystemInfo
public String getIpAddress()
getIpAddress
in class SystemInfo
public String getTempDir()
getTempDir
in class SystemInfo
public String getSystemDate()
getSystemDate
in class SystemInfo
public String getSystemTime()
getSystemTime
in class SystemInfo
public String getUserName()
getUserName
in class SystemInfo
public String getUserTimezone()
getUserTimezone
in class SystemInfo
public String getUserLocale()
getUserLocale
in class SystemInfo
public String getUserHome()
getUserHome
in class SystemInfo
public String getBambooLogsDirectoryPath()
getBambooLogsDirectoryPath
in class SystemInfo
public String getSystemEncoding()
getSystemEncoding
in class SystemInfo
public String getOperatingSystem()
getOperatingSystem
in class SystemInfo
public String getOperatingSystemArchitecture()
getOperatingSystemArchitecture
in class SystemInfo
public long getTotalMemory()
getTotalMemory
in class SystemInfo
public long getFreeMemory()
getFreeMemory
in class SystemInfo
public long getUsedMemory()
getUsedMemory
in class SystemInfo
public int getAvailableProcessors()
getAvailableProcessors
in class SystemInfo
@Nullable public String getApplicationHome()
getApplicationHome
in class SystemInfo
public String getBuildWorkingDirectory()
getBuildWorkingDirectory
in class SystemInfo
public String getArtifactsDirectory()
getArtifactsDirectory
in class SystemInfo
@Nullable public String getFreeDiskSpace()
getFreeDiskSpace
in class SystemInfo
public String getSystemProperty(String key)
getSystemProperty
in class SystemInfo
public String getConfigPath()
getConfigPath
in class SystemInfo
public String getBuildPath()
getBuildPath
in class SystemInfo
public String getIndexSize()
getIndexSize
in class SystemInfo
public Collection getEnvironmentVariables()
getEnvironmentVariables
in class SystemInfo
public Collection getSystemProperties()
getSystemProperties
in class SystemInfo
public String fullOutput()
fullOutput
in class SystemInfo
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.