Class SystemInfo

    • Constructor Detail

      • SystemInfo

        public SystemInfo()
    • Method Detail

      • getStartupTimestamp

        public abstract long getStartupTimestamp()
      • getCurrentDate

        public abstract Date getCurrentDate()
      • getCurrentDirectory

        public abstract String getCurrentDirectory()
      • getUptime

        public abstract String getUptime()
      • getHostName

        public abstract String getHostName()
      • getIpAddress

        public abstract String getIpAddress()
      • getTempDir

        public abstract String getTempDir()
      • getSystemDate

        public abstract String getSystemDate()
      • getSystemTime

        public abstract String getSystemTime()
      • getUserName

        public abstract String getUserName()
      • getUserTimezone

        public abstract String getUserTimezone()
      • getUserLocale

        public abstract String getUserLocale()
      • getUserHome

        public abstract String getUserHome()
      • getSystemEncoding

        public abstract String getSystemEncoding()
      • getOperatingSystem

        public abstract String getOperatingSystem()
      • getOperatingSystemArchitecture

        public abstract String 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

        public abstract String getLocalAgents()
      • getApplicationHome

        @Nullable
        public abstract @Nullable String getApplicationHome()
      • getBambooLogsDirectoryPath

        public abstract String getBambooLogsDirectoryPath()
      • getBuildWorkingDirectory

        public abstract String getBuildWorkingDirectory()
      • getArtifactsDirectory

        public abstract String getArtifactsDirectory()
      • getSharedHomeDirectory

        public abstract String getSharedHomeDirectory()
      • getFreeDiskSpace

        @Nullable
        public abstract @Nullable String getFreeDiskSpace()
        Returns:
        free disk space or null if it could not be retrieved
      • getSystemProperty

        public abstract String getSystemProperty​(String key)
      • getConfigPath

        public abstract String getConfigPath()
      • getBuildPath

        public abstract String getBuildPath()
      • getIndexSize

        public abstract String getIndexSize()
      • getEnvironmentVariables

        public abstract Collection getEnvironmentVariables()
      • getSystemProperties

        public abstract Collection getSystemProperties()
      • fullOutput

        public abstract String fullOutput()