|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, 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(javax.servlet.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 | |
---|---|
java.lang.String |
execute()
|
java.util.Map<java.lang.String,java.lang.Object> |
getBuildStats()
|
java.util.Map<java.lang.String,java.lang.String> |
getDatabaseInfo()
|
java.util.List<com.atlassian.plugin.Plugin> |
getEnabledPlugins()
Retrieves the list of enabled plugins. |
MemoryInfo |
getMemoryStatistics()
|
java.util.Map<java.lang.String,java.lang.String> |
getModifications()
|
java.lang.String |
getPluginEnabledAsEnglish(java.lang.String pluginKey)
Get English label of whether a plugin is enabled or disabled. |
java.lang.String |
getPluginEnabledAsI18nLabel(java.lang.String pluginKey)
Get internationalised label of whether a plugin is enabled or disabled. |
java.util.Collection<com.atlassian.plugin.Plugin> |
getPlugins()
|
java.util.Map<java.lang.String,java.lang.String> |
getRuntimeEnvironment()
|
java.lang.String |
getServerId()
|
java.lang.String |
getServerIdOrEnglishNone()
|
java.lang.String |
getServerIdOrI18nNone()
|
javax.servlet.ServletContext |
getServletContext()
|
java.util.Map<java.lang.String,java.lang.String> |
getSummaryInfo()
|
java.lang.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. |
java.lang.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. |
java.util.Map<java.lang.Object,java.lang.Object> |
getSystemProperties()
|
java.util.Map |
getSystemPropertiesHtml()
|
java.util.Map<java.lang.String,java.lang.String> |
getUsageInfo()
|
boolean |
isClustered()
|
boolean |
isDailyBackupEnabled()
|
boolean |
isPermitted()
|
boolean |
isPluginEnabled(java.lang.String pluginKey)
|
void |
setClusterManager(ClusterManager clusterManager)
|
void |
setGc(boolean gc)
|
void |
setScheduledJobManager(ScheduledJobManager scheduledJobManager)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
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 |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Constructor Detail |
---|
public ViewSystemInfoAction()
public ViewSystemInfoAction(javax.servlet.ServletContext servletContext)
Method Detail |
---|
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public javax.servlet.ServletContext getServletContext()
public java.util.Map<java.lang.String,java.lang.String> getSummaryInfo()
public java.util.Map<java.lang.String,java.lang.String> getRuntimeEnvironment()
public java.util.Map<java.lang.String,java.lang.String> getDatabaseInfo()
public java.util.Map<java.lang.String,java.lang.String> getUsageInfo()
public java.util.Map<java.lang.String,java.lang.String> getModifications()
public MemoryInfo getMemoryStatistics()
public java.util.Map<java.lang.String,java.lang.Object> getBuildStats()
public java.util.Collection<com.atlassian.plugin.Plugin> getPlugins()
public boolean isPluginEnabled(java.lang.String pluginKey)
public java.lang.String getPluginEnabledAsEnglish(java.lang.String pluginKey)
public java.lang.String getPluginEnabledAsI18nLabel(java.lang.String pluginKey)
public boolean isClustered()
public boolean isDailyBackupEnabled()
public java.lang.String getServerId()
public java.lang.String getServerIdOrEnglishNone()
public java.lang.String getServerIdOrI18nNone()
public java.lang.String getSupportEntitlementNumberOrEnglishNone()
public java.lang.String getSupportEntitlementNumberOrI18nNone()
public void setSidManager(ConfluenceSidManager sidManager)
public java.util.Map<java.lang.Object,java.lang.Object> getSystemProperties()
public java.util.Map getSystemPropertiesHtml()
public void setClusterManager(ClusterManager clusterManager)
clusterManager
- the ClusterManager used to discover whether the server is part of a cluster.public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager
in class ConfluenceActionSupport
settingsManager
- the SettingsManager used to discover whether daily back ups are enabled.public void setScheduledJobManager(ScheduledJobManager scheduledJobManager)
scheduledJobManager
- ScheduledJobManager used to discover whether daily back ups are enabled.public java.util.List<com.atlassian.plugin.Plugin> getEnabledPlugins()
public void setGc(boolean gc)
public void setSystemInformationService(SystemInformationService sysInfoService)
setSystemInformationService
in class ConfluenceActionSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |