|
||||||||||
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, log, 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 | |
---|---|
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<com.atlassian.plugin.Plugin> |
getPlugins()
|
Map<String,String> |
getRuntimeEnvironment()
|
String |
getServerId()
|
String |
getServerIdOrEnglishNone()
|
String |
getServerIdOrI18nNone()
|
javax.servlet.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 |
isDailyBackupEnabled()
|
boolean |
isPermitted()
|
boolean |
isPluginEnabled(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 String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public javax.servlet.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<com.atlassian.plugin.Plugin> getPlugins()
public boolean isPluginEnabled(String pluginKey)
public String getPluginEnabledAsEnglish(String pluginKey)
public String getPluginEnabledAsI18nLabel(String pluginKey)
public boolean isClustered()
public boolean isDailyBackupEnabled()
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 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 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 |