|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.ViewSystemInfoAction
public class ViewSystemInfoAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
execute()
|
Map<String,Object> |
getBuildStats()
|
Map<String,String> |
getDatabaseInfo()
|
List<com.atlassian.plugin.Plugin> |
getEnabledPlugins()
Retrieves the list of enabled plugins. |
MemoryInfo |
getMemoryStatistics()
|
Map<String,String> |
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<String,String> |
getRuntimeEnvironment()
|
String |
getServerId()
|
String |
getServerIdOrEnglishNone()
|
String |
getServerIdOrI18nNone()
|
ServletContext |
getServletContext()
|
Map<String,String> |
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<Object,Object> |
getSystemProperties()
|
Map |
getSystemPropertiesHtml()
|
Map<String,String> |
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)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewSystemInfoAction()
public ViewSystemInfoAction(ServletContext servletContext)
Method Detail |
---|
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String execute() throws Exception
execute
in interface Action
execute
in class ActionSupport
Exception
public ServletContext getServletContext()
public Map<String,String> getSummaryInfo()
public Map<String,String> getRuntimeEnvironment()
public Map<String,String> getDatabaseInfo()
public Map<String,String> getUsageInfo()
public Map<String,String> getModifications()
public MemoryInfo getMemoryStatistics()
public Map<String,Object> getBuildStats()
public Collection getPlugins()
public boolean isPluginEnabled(String pluginKey)
public String getPluginEnabledAsEnglish(String pluginKey)
public String getPluginEnabledAsI18nLabel(String pluginKey)
public boolean isClustered()
public String getServerId()
public String getServerIdOrEnglishNone()
public String getServerIdOrI18nNone()
public String getSupportEntitlementNumberOrEnglishNone()
public String getSupportEntitlementNumberOrI18nNone()
public void setSidManager(ConfluenceSidManager sidManager)
public Map<Object,Object> getSystemProperties()
public Map getSystemPropertiesHtml()
public void setClusterManager(ClusterManager clusterManager)
clusterManager
- the ClusterManager used to discover whether the server is part of a cluster.public List<com.atlassian.plugin.Plugin> getEnabledPlugins()
public void setGc(boolean gc)
public void setSystemInformationService(SystemInformationService sysInfoService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |