com.atlassian.bamboo.configuration
Class SystemInfoAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.SystemInfoAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.webwork.util.ServletContextAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable, org.springframework.context.ApplicationContextAware
public class SystemInfoAction
- extends BambooActionSupport
- implements GlobalAdminSecurityAware, com.opensymphony.webwork.util.ServletContextAware, org.springframework.context.ApplicationContextAware
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemInfoAction
public SystemInfoAction()
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Obtains the system info
- Overrides:
doExecute
in class BambooActionSupport
- Returns:
- The webwork return status
- Throws:
java.lang.Exception
- A generic exception
getBambooBuildDate
public java.util.Date getBambooBuildDate()
getBambooBuildNumber
public java.lang.String getBambooBuildNumber()
getBambooVersion
public java.lang.String getBambooVersion()
getSystemInfo
public SystemInfo getSystemInfo()
- Provide the GUI with the system info
setSystemInfo
public void setSystemInfo(SystemInfo systemInfo)
getEnabledPlugins
public java.util.Collection<com.atlassian.plugin.Plugin> getEnabledPlugins()
getLogPath
public java.lang.String getLogPath()
getSystemStatisticsBean
public SystemStatisticsBean getSystemStatisticsBean()
setSystemStatisticsBean
public void setSystemStatisticsBean(SystemStatisticsBean systemStatisticsBean)
getSecuredDomainObject
public java.lang.Object getSecuredDomainObject()
- Specified by:
getSecuredDomainObject
in interface DomainObjectSecurityAware
- Overrides:
getSecuredDomainObject
in class BambooActionSupport
getCompressionStats
public com.planetj.servlet.filter.compression.CompressingFilterStats getCompressionStats()
getServletContext
public javax.servlet.ServletContext getServletContext()
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interface com.opensymphony.webwork.util.ServletContextAware
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
- Overrides:
setPluginAccessor
in class BambooActionSupport
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
Copyright © 2011 Atlassian. All Rights Reserved.