Class SystemInformationHelper


  • public class SystemInformationHelper
    extends Object
    Takes the Confluence system information and represents it as various ordered maps of key-value pairs. The keys are suitable for localisation.
    • Method Detail

      • getSystemSummary

        public Map<String,​String> getSystemSummary()
        Gets an ordered map of general system summary information, including system startup time, Confluence version and the ever-important system favourite colour.
        Returns:
        an ordered map of general system information
      • getRuntimeEnvironment

        public Map<String,​String> getRuntimeEnvironment​(javax.servlet.ServletContext context)
        Gets an ordered map of information about the Confluence runtime environment: JVM, application server and operating environment
        Parameters:
        context - the servlet context. If this argument is null, some information may not be included
        Returns:
        an ordered map of runtime information
      • getDatabaseInfo

        public Map<String,​String> getDatabaseInfo()
        Gets an ordered map of information about Confluence's database connection, including driver details and (if possible) latency.
        Returns:
        an ordered map of information about Confluence's database connection.
      • getUsageInfo

        public Map<String,​String> getUsageInfo()
        Gets an ordered map of information about the size of a Confluence instance, including the number of spaces and content entities.
        Returns:
        an ordered map of information about the size of a Confluence instance
      • getAttachmentStorageInfo

        public Map<String,​String> getAttachmentStorageInfo()
        Returns:
        an ordered map of information about the attachment storage