com.atlassian.confluence.status.service
Class SystemInformationHelper

java.lang.Object
  extended by com.atlassian.confluence.status.service.SystemInformationHelper

public class SystemInformationHelper
extends java.lang.Object

Takes the Confluence system information and represents it as various ordered maps of key-value pairs. The keys are suitable for localisation.


Constructor Summary
SystemInformationHelper(I18NBean i18n, SystemInformationService service)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getDatabaseInfo()
          Gets an ordered map of information about Confluence's database connection, including driver details and (if possible) latency.
 java.util.Map<java.lang.String,java.lang.String> getRuntimeEnvironment(javax.servlet.ServletContext context)
          Gets an ordered map of information about the Confluence runtime environment: JVM, application server and operating environment
 java.util.Map<java.lang.String,java.lang.String> getSystemSummary()
          Gets an ordered map of general system summary information, including system startup time, Confluence version and the ever-important system favourite colour.
 java.util.Map<java.lang.String,java.lang.String> getUsageInfo()
          Gets an ordered map of information about the size of a Confluence instance, including the number of spaces and content entities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInformationHelper

public SystemInformationHelper(I18NBean i18n,
                               SystemInformationService service)
Method Detail

getSystemSummary

public java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.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


Copyright © 2003-2014 Atlassian. All Rights Reserved.