com.atlassian.bamboo.configuration.agent
Class ViewAgent

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.agent.ViewAgent
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, 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
Direct Known Subclasses:
ViewAgentAdmin, ViewOfflineElasticAgentDetailsAction

public class ViewAgent
extends BambooActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  BuildResultsSummaryManager buildResultsSummaryManager
           
protected  CapabilityHelper capabilityHelper
           
protected  CapabilitySet capabilitySet
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, 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
ViewAgent()
           
 
Method Summary
 java.lang.String doDefault()
          Default action just sends to the input
 BuildResultsSummary findLastBuild(Buildable plan)
           
 BuildResultsSummary findLastSuccessfulBuild(Buildable plan)
           
 PipelineDefinition getAgent()
           
 long getAgentId()
           
 BuildAgent getBuildAgent()
           
 BuildResultsFilterFactory getBuildResultsFilterFactory()
           
 CapabilitySet getCapabilitySet()
           
 CapabilityRequirementSetDecorator getCapabilitySetDecorator()
           
 CapabilityRequirementSetDecorator getCombinedCapabilitySetDecorator()
           
 java.util.Collection<Buildable> getExecutableBuildables()
           
 FilterController getFilterController()
           
 java.util.List<BuildResultsSummary> getResultsList()
           
 CapabilitySet getSharedCapabilitySet()
           
 CapabilityRequirementSetDecorator getSharedCapabilitySetDecorator()
           
 SuccessPercentageStatisticsBean getStatistics()
           
 SystemInfo getSystemInfo()
           
protected  void initializeAllFields()
           
protected  void initializeBuildList()
           
 void setAgent(PipelineDefinition agent)
           
 void setAgentId(long agentId)
           
 void setBuildResultsFilterFactory(BuildResultsFilterFactory buildResultsFilterFactory)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 void setCapabilityHelper(CapabilityHelper capabilityHelper)
           
 void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
           
 void setFilterController(FilterController filterController)
           
 void setLocalAgentManager(LocalAgentManager localAgentManager)
           
 void setResultsList(java.util.List<BuildResultsSummary> results)
           
 void setSharedCapabilitySet(CapabilitySet sharedCapabilitySet)
           
 void setSystemInfo(SystemInfo systemInfo)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, 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, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, 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, setPluginAccessor, 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
 

Field Detail

capabilitySet

protected CapabilitySet capabilitySet

buildResultsSummaryManager

protected BuildResultsSummaryManager buildResultsSummaryManager

capabilityHelper

protected CapabilityHelper capabilityHelper
Constructor Detail

ViewAgent

public ViewAgent()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Description copied from class: BambooActionSupport
Default action just sends to the input

Overrides:
doDefault in class BambooActionSupport
Throws:
java.lang.Exception

initializeAllFields

protected void initializeAllFields()

initializeBuildList

protected void initializeBuildList()

getStatistics

public SuccessPercentageStatisticsBean getStatistics()

getResultsList

public java.util.List<BuildResultsSummary> getResultsList()

setResultsList

public void setResultsList(java.util.List<BuildResultsSummary> results)

getExecutableBuildables

public java.util.Collection<Buildable> getExecutableBuildables()

findLastSuccessfulBuild

@Nullable
public BuildResultsSummary findLastSuccessfulBuild(Buildable plan)

findLastBuild

@Nullable
public BuildResultsSummary findLastBuild(Buildable plan)

getSharedCapabilitySetDecorator

public CapabilityRequirementSetDecorator getSharedCapabilitySetDecorator()

getCapabilitySetDecorator

public CapabilityRequirementSetDecorator getCapabilitySetDecorator()

getCombinedCapabilitySetDecorator

public CapabilityRequirementSetDecorator getCombinedCapabilitySetDecorator()

getCapabilitySet

public CapabilitySet getCapabilitySet()

getSharedCapabilitySet

public CapabilitySet getSharedCapabilitySet()

setSharedCapabilitySet

public void setSharedCapabilitySet(CapabilitySet sharedCapabilitySet)

getAgentId

public long getAgentId()

setAgentId

public void setAgentId(long agentId)

getAgent

public PipelineDefinition getAgent()

getSystemInfo

public SystemInfo getSystemInfo()

setAgent

public void setAgent(PipelineDefinition agent)

getBuildAgent

public BuildAgent getBuildAgent()

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)

setSystemInfo

public void setSystemInfo(SystemInfo systemInfo)

setCapabilitySetManager

public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)

setLocalAgentManager

public void setLocalAgentManager(LocalAgentManager localAgentManager)

setCapabilityHelper

public void setCapabilityHelper(CapabilityHelper capabilityHelper)

getFilterController

public FilterController getFilterController()

setFilterController

public void setFilterController(FilterController filterController)

getBuildResultsFilterFactory

public BuildResultsFilterFactory getBuildResultsFilterFactory()

setBuildResultsFilterFactory

public void setBuildResultsFilterFactory(BuildResultsFilterFactory buildResultsFilterFactory)


Copyright © 2011 Atlassian. All Rights Reserved.