public class ViewSystemInfoAction extends ConfluenceActionSupport
CANCEL, contentUiSupport, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, userHistoryManager, webInterfaceManager| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 license, otherwise return none.
|
String |
getSupportEntitlementNumberOrI18nNone()
Returns the license's SupportEntitlementNumber (SEN) if specified in a license
or the localisation of "none.word" if the license has no SEN.
|
Map<Object,Object> |
getSystemProperties() |
Map |
getSystemPropertiesHtml() |
Map<String,String> |
getUsageInfo() |
boolean |
isPermitted() |
boolean |
isPluginEnabled(String pluginKey) |
void |
setGc(boolean gc) |
void |
setLicenseService(LicenseService licenseService) |
void |
setSettingsManager(SettingsManager settingsManager) |
void |
setSidManager(ConfluenceSidManager sidManager) |
void |
setSystemInformationService(SystemInformationService sysInfoService) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendAssetsManager, getFrontEndDarkFeatureHelper, getFrontendFragment, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSpaCacheManager, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, isVertigo, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setFrontendAssetsManager, setFrontEndDarkFeatureHelper, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSkipAccessCheck, setSpaCacheManager, setSpacePermissionManager, setTimeZoneManager, setUserAccessor, setUserHistoryManager, setWebInterfaceManager, useSpaCreatePage, useSpaCreatePageaddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic ViewSystemInfoAction()
public ViewSystemInfoAction(javax.servlet.ServletContext servletContext)
public boolean isPermitted()
isPermitted in class ConfluenceActionSupportpublic String execute() throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic javax.servlet.ServletContext getServletContext()
public MemoryInfo getMemoryStatistics()
public Collection<com.atlassian.plugin.Plugin> getPlugins()
public boolean isPluginEnabled(String pluginKey)
public String getPluginEnabledAsEnglish(String pluginKey)
public String getPluginEnabledAsI18nLabel(String pluginKey)
public String getServerId()
public String getServerIdOrEnglishNone()
public String getServerIdOrI18nNone()
public String getSupportEntitlementNumberOrEnglishNone()
public String getSupportEntitlementNumberOrI18nNone()
public void setSidManager(ConfluenceSidManager sidManager)
public Map getSystemPropertiesHtml()
public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager in class ConfluenceActionSupportsettingsManager - the SettingsManager 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 ConfluenceActionSupportpublic void setLicenseService(LicenseService licenseService)
Copyright © 2003–2017 Atlassian. All rights reserved.