com.atlassian.bamboo.configuration
Class SystemInfoAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.SystemInfoAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.util.ServletContextAware, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class SystemInfoAction
extends BambooActionSupport
implements GlobalAdminSecurityAware, org.apache.struts2.util.ServletContextAware, org.springframework.context.ApplicationContextAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SystemInfoAction()
           
 
Method Summary
 String doExecute()
          Obtains the system info
 Date getBambooBuildDate()
           
 String getBambooBuildNumber()
           
 String getBambooVersion()
           
 org.apache.activemq.broker.BrokerService getBroker()
           
 com.planetj.servlet.filter.compression.CompressingFilterStats getCompressionStats()
           
 Collection<com.atlassian.plugin.Plugin> getEnabledPlugins()
           
 String getLogPath()
          Deprecated. since 5.8 why would you use that...
 Object getSecuredDomainObject()
           
 javax.servlet.ServletContext getServletContext()
           
 SystemInfo getSystemInfo()
          Provide the GUI with the system info
 SystemStatisticsBean getSystemStatisticsBean()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setBrokerService(org.apache.activemq.broker.BrokerService brokerService)
           
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 void setSystemInfo(SystemInfo systemInfo)
           
 void setSystemStatisticsBean(SystemStatisticsBean systemStatisticsBean)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Constructor Detail

SystemInfoAction

public SystemInfoAction()
Method Detail

doExecute

public String doExecute()
                 throws Exception
Obtains the system info

Overrides:
doExecute in class BambooActionSupport
Returns:
The webwork return status
Throws:
Exception - A generic exception

getBambooBuildDate

public Date getBambooBuildDate()

getBambooBuildNumber

public String getBambooBuildNumber()

getBambooVersion

public String getBambooVersion()

getSystemInfo

public SystemInfo getSystemInfo()
Provide the GUI with the system info


getBroker

public org.apache.activemq.broker.BrokerService getBroker()

setSystemInfo

public void setSystemInfo(SystemInfo systemInfo)

getEnabledPlugins

public Collection<com.atlassian.plugin.Plugin> getEnabledPlugins()

getLogPath

@Deprecated
public String getLogPath()
Deprecated. since 5.8 why would you use that...


getSystemStatisticsBean

public SystemStatisticsBean getSystemStatisticsBean()

setSystemStatisticsBean

public void setSystemStatisticsBean(SystemStatisticsBean systemStatisticsBean)

getSecuredDomainObject

public 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 org.apache.struts2.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

setBrokerService

public void setBrokerService(org.apache.activemq.broker.BrokerService brokerService)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.