public class

ViewSystemInfoAction

extends ConfluenceActionSupport
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.admin.actions.ViewSystemInfoAction
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
ViewSystemInfoAction()
Keep the blank constructor so WebWork can construct the action
ViewSystemInfoAction(ServletContext servletContext)
This constructor is used by the error page (500page.jsp) to create a new action after the ActionContext has been reset.
Public Methods
String execute()
Map<StringObject> getBuildStats()
Map<StringString> getDatabaseInfo()
List<Plugin> getEnabledPlugins()
Retrieves the list of enabled plugins.
MemoryInfo getMemoryStatistics()
Map<StringString> getModifications()
String getPluginEnabledAsEnglish(String pluginKey)
Get English label of whether a plugin is enabled or disabled.
String getPluginEnabledAsI18nLabel(String pluginKey)
Get internationalised label of whether a plugin is enabled or disabled.
Collection getPlugins()
Map<StringString> getRuntimeEnvironment()
String getServerId()
String getServerIdOrEnglishNone()
String getServerIdOrI18nNone()
ServletContext getServletContext()
Map<StringString> getSummaryInfo()
String getSupportEntitlementNumberOrEnglishNone()
Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or "none" if using a V1 license or if the V2 license has no SEN.
String getSupportEntitlementNumberOrI18nNone()
Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or the localisation of "none.word" if using a V1 license or if the V2 license has no SEN.
Map<ObjectObject> getSystemProperties()
Map getSystemPropertiesHtml()
Map<StringString> getUsageInfo()
boolean isClustered()
boolean isPermitted()
boolean isPluginEnabled(String pluginKey)
void setClusterManager(ClusterManager clusterManager)
void setGc(boolean gc)
void setSidManager(ConfluenceSidManager sidManager)
void setSystemInformationService(SystemInformationService sysInfoService)
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public ViewSystemInfoAction ()

Keep the blank constructor so WebWork can construct the action

public ViewSystemInfoAction (ServletContext servletContext)

This constructor is used by the error page (500page.jsp) to create a new action after the ActionContext has been reset.

Public Methods

public String execute ()

Throws
Exception

public Map<StringObject> getBuildStats ()

public Map<StringString> getDatabaseInfo ()

public List<Plugin> getEnabledPlugins ()

Retrieves the list of enabled plugins. Returns null when there was a problem retrieving the pluginAccessor

Returns
  • List containing the enabled plugins

public MemoryInfo getMemoryStatistics ()

public Map<StringString> getModifications ()

public String getPluginEnabledAsEnglish (String pluginKey)

Get English label of whether a plugin is enabled or disabled.

Returns
  • "enabled" for enabled plugins or "disabled" for disabled ones

public String getPluginEnabledAsI18nLabel (String pluginKey)

Get internationalised label of whether a plugin is enabled or disabled.

Returns
  • i18n version of "enabled" for enabled plugins or "disabled" for disabled ones

public Collection getPlugins ()

public Map<StringString> getRuntimeEnvironment ()

public String getServerId ()

Returns
  • the server Id for this server or null if there is none set.

public String getServerIdOrEnglishNone ()

Returns
  • the server Id for this server or "none" if there is none set.

public String getServerIdOrI18nNone ()

Returns
  • the server Id for this server or localised version of "none.word" if there is none set.

public ServletContext getServletContext ()

public Map<StringString> getSummaryInfo ()

public String getSupportEntitlementNumberOrEnglishNone ()

Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or "none" if using a V1 license or if the V2 license has no SEN.

Returns
  • This instance's SupportEntitlementNumber (SEN) or "none"

public String getSupportEntitlementNumberOrI18nNone ()

Returns the license's SupportEntitlementNumber (SEN) if specified in a V2 license or the localisation of "none.word" if using a V1 license or if the V2 license has no SEN.

Returns
  • This instance's SupportEntitlementNumber (SEN) or localised version of "none.word".

public Map<ObjectObject> getSystemProperties ()

Returns
  • the System properties.

public Map getSystemPropertiesHtml ()

Returns
  • break up some typically long-lined properties using spaces

public Map<StringString> getUsageInfo ()

public boolean isClustered ()

Returns
  • true if the server is part of a cluster; otherwise false

public boolean isPermitted ()

public boolean isPluginEnabled (String pluginKey)

public void setClusterManager (ClusterManager clusterManager)

Parameters
clusterManager the ClusterManager used to discover whether the server is part of a cluster.

public void setGc (boolean gc)

public void setSidManager (ConfluenceSidManager sidManager)

public void setSystemInformationService (SystemInformationService sysInfoService)