com.atlassian.confluence.admin.actions
Class ViewSystemInfoAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.ViewSystemInfoAction
- All Implemented Interfaces:
- com.opensymphony.xwork.Action, Administrative, com.opensymphony.xwork.LocaleProvider, NodeStatus, Serializable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware
- public class ViewSystemInfoAction
- extends ConfluenceActionSupport
- implements Administrative, NodeStatus
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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. |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addPermissionTypeTo, addToHistory, doDefault, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEditorLanguage, getEventManager, 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, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, 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 |
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.
execute
public String execute()
throws Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Throws:
Exception
setHibernateConfig
public void setHibernateConfig(HibernateConfig hibernateConfig)
getServletContext
public javax.servlet.ServletContext getServletContext()
getProps
public Map getProps()
- Specified by:
getProps
in interface NodeStatus
getJVMstats
public Map getJVMstats()
- Specified by:
getJVMstats
in interface NodeStatus
getBuildStats
public Map getBuildStats()
- Specified by:
getBuildStats
in interface NodeStatus
getDatabaseURL
public String getDatabaseURL()
getDatabaseDialect
public String getDatabaseDialect()
getDatabaseDriverName
public String getDatabaseDriverName()
- Retrieves the class name of the database driver
- Returns:
- Returns the class name as a String, or "N/A" if it was unable to be retrieved
getDatabaseDriverVersion
public String getDatabaseDriverVersion()
- Retrieves the version of the database driver, in the form "MAJOR.MINOR"
- Returns:
- Returns the version as a String, or "N/A" if it was unable to be retrieved
getEnabledPlugins
public List getEnabledPlugins()
- Retrieves the list of enabled plugins.
Returns null when there was a problem retrieving the pluginManager
- Returns:
- List containing the enabled plugins
getAppServer
public String getAppServer()
getTotalMemory
public long getTotalMemory()
getFreeMemory
public long getFreeMemory()
getUsedMemory
public long getUsedMemory()
setGc
public void setGc(boolean gc)