Class SystemInformationHelper
- java.lang.Object
-
- com.atlassian.confluence.status.service.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.
-
-
Constructor Summary
Constructors Constructor Description SystemInformationHelper(I18NBean i18n, SystemInformationService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAttachmentStorageInfo()
Map<String,String>
getDatabaseInfo()
Gets an ordered map of information about Confluence's database connection, including driver details and (if possible) latency.Map<String,String>
getRuntimeEnvironment(javax.servlet.ServletContext context)
Gets an ordered map of information about the Confluence runtime environment: JVM, application server and operating environmentMap<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.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.
-
-
-
Constructor Detail
-
SystemInformationHelper
public SystemInformationHelper(I18NBean i18n, SystemInformationService service)
-
-
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
-
-