public class ViewSystemInfoAction extends ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, spacePermissionManager, userAccessor, 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.
|
Map<String,String> |
getEnvironmentVariables() |
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 |
isClustered() |
boolean |
isDailyBackupEnabled() |
boolean |
isPermitted() |
boolean |
isPluginEnabled(String pluginKey) |
void |
setClusterManager(ClusterManager clusterManager) |
void |
setGc(boolean gc) |
void |
setLicenseService(LicenseService licenseService) |
void |
setPluginMetadataManager(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager) |
void |
setScheduledJobManager(ScheduledJobManager scheduledJobManager) |
void |
setSettingsManager(SettingsManager settingsManager) |
void |
setSidManager(ConfluenceSidManager sidManager) |
void |
setSystemInformationService(SystemInformationService sysInfoService) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSkipAccessCheck, setSpacePermissionManager, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public ViewSystemInfoAction()
public ViewSystemInfoAction(javax.servlet.ServletContext servletContext)
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public 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 boolean isClustered()
public boolean isDailyBackupEnabled()
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 setClusterManager(ClusterManager clusterManager)
clusterManager
- the ClusterManager used to discover whether the server is part of a cluster.public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager
in class ConfluenceActionSupport
settingsManager
- the SettingsManager used to discover whether daily back ups are enabled.public void setScheduledJobManager(ScheduledJobManager scheduledJobManager)
scheduledJobManager
- ScheduledJobManager 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 ConfluenceActionSupport
public void setLicenseService(LicenseService licenseService)
public void setPluginMetadataManager(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager)
Copyright © 2003–2021 Atlassian. All rights reserved.