com.atlassian.confluence.admin.actions
Class ViewSystemInfoAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.admin.actions.ViewSystemInfoAction
All Implemented Interfaces:
WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
Direct Known Subclasses:
RaiseSupportRequestAction

public class ViewSystemInfoAction
extends ConfluenceActionSupport

See Also:
Serialized Form

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(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()
           
 DatabaseInfo getDatabaseInfo()
           
 java.lang.String getDatabaseLatency()
           
 java.util.List<com.atlassian.plugin.Plugin> getEnabledPlugins()
          Retrieves the list of enabled plugins.
 MemoryInfo getMemoryStatistics()
           
 java.util.Map<java.lang.String,java.lang.Object> getProps()
           
 javax.servlet.ServletContext getServletContext()
           
 boolean isPermitted()
           
 void setGc(boolean gc)
           
 void setSystemInformationService(SystemInformationService sysInfoService)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager
 
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

ViewSystemInfoAction

public ViewSystemInfoAction()
Keep the blank constructor so WebWork can construct the action


ViewSystemInfoAction

public 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 Detail

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getServletContext

public javax.servlet.ServletContext getServletContext()

getProps

public java.util.Map<java.lang.String,java.lang.Object> getProps()

getMemoryStatistics

public MemoryInfo getMemoryStatistics()

getBuildStats

public java.util.Map<java.lang.String,java.lang.Object> getBuildStats()

getDatabaseInfo

public DatabaseInfo getDatabaseInfo()

getDatabaseLatency

public java.lang.String getDatabaseLatency()

getEnabledPlugins

public java.util.List<com.atlassian.plugin.Plugin> getEnabledPlugins()
Retrieves the list of enabled plugins. Returns null when there was a problem retrieving the pluginAccessor

Returns:
List containing the enabled plugins

setGc

public void setGc(boolean gc)

setSystemInformationService

public void setSystemInformationService(SystemInformationService sysInfoService)


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.