com.atlassian.bamboo.configuration
Class SystemInfoAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.SystemInfoAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, 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

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
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SystemInfoAction()
           
 
Method Summary
 java.lang.String doExecute()
          Obtains the system info
 java.util.Date getBambooBuildDate()
           
 java.lang.String getBambooBuildNumber()
           
 java.lang.String getBambooVersion()
           
 com.planetj.servlet.filter.compression.CompressingFilterStats getCompressionStats()
           
 java.util.Collection<com.atlassian.plugin.Plugin> getEnabledPlugins()
           
 java.lang.String getLogPath()
           
 java.lang.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 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
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, 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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

SystemInfoAction

public SystemInfoAction()
Method Detail

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)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware


Copyright © 2010 Atlassian. All Rights Reserved.