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, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, 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(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()
           
 DatabaseInfo getDatabaseInfo()
           
 String getDatabaseLatency()
           
 List<Plugin> getEnabledPlugins()
          Retrieves the list of enabled plugins.
 MemoryInfo getMemoryStatistics()
           
 Map<String,Object> getProps()
           
 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(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 String execute()
               throws Exception
Specified by:
execute in interface Action
Overrides:
execute in class ActionSupport
Throws:
Exception

getServletContext

public ServletContext getServletContext()

getProps

public Map<String,Object> getProps()

getMemoryStatistics

public MemoryInfo getMemoryStatistics()

getBuildStats

public Map<String,Object> getBuildStats()

getDatabaseInfo

public DatabaseInfo getDatabaseInfo()

getDatabaseLatency

public String getDatabaseLatency()

getEnabledPlugins

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

setGc

public void setGc(boolean gc)

setSystemInformationService

public void setSystemInformationService(SystemInformationService sysInfoService)


Confluence is developed by Atlassian Pty Ltd.