com.atlassian.confluence.admin.actions
Class ViewSystemInfoAction

java.lang.Object
  extended bycom.opensymphony.xwork.ActionSupport
      extended bycom.atlassian.confluence.core.ConfluenceActionSupport
          extended bycom.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

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, 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
 String execute()
           
 String getAppServer()
           
 Map getBuildStats()
           
 String getDatabaseDialect()
           
 String getDatabaseDriverName()
          Retrieves the class name of the database driver
 String getDatabaseDriverVersion()
          Retrieves the version of the database driver, in the form "MAJOR.MINOR"
 String getDatabaseURL()
           
 List getEnabledPlugins()
          Retrieves the list of enabled plugins.
 long getFreeMemory()
           
 Map getJVMstats()
           
 Map getProps()
           
 javax.servlet.ServletContext getServletContext()
           
 long getTotalMemory()
           
 long getUsedMemory()
           
 void setGc(boolean gc)
           
 void setHibernateConfig(HibernateConfig hibernateConfig)
           
 
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
 

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

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)


Confluence is developed by Atlassian.