|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.status.service.SystemInformationHelper
public class SystemInformationHelper
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 |
---|
public SystemInformationHelper(I18NBean i18n, SystemInformationService service)
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> getSystemSummary()
public java.util.Map<java.lang.String,java.lang.String> getRuntimeEnvironment(javax.servlet.ServletContext context)
context
- the servlet context. If this argument is null, some information may not be included
public java.util.Map<java.lang.String,java.lang.String> getDatabaseInfo()
public java.util.Map<java.lang.String,java.lang.String> getUsageInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |