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, 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

Field Summary
protected  BuildResultsSummaryManager buildResultsSummaryManager
           
protected  CapabilityHelper capabilityHelper
           
protected  CapabilitySet capabilitySet
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
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(Build plan)
           
 BuildResultsSummary findLastSuccessfulBuild(Build plan)
           
 PipelineDefinition getAgent()
           
 long getAgentId()
           
 BuildAgent getBuildAgent()
           
 CapabilitySet getCapabilitySet()
           
 CapabilityRequirementSetDecorator getCapabilitySetDecorator()
           
 CapabilityRequirementSetDecorator getCombinedCapabilitySetDecorator()
           
 java.util.Collection<Build> getExecutableBuilds()
           
 java.util.List<ExtendedBuildResultsSummary> getResultsList()
           
 CapabilitySet getSharedCapabilitySet()
           
 CapabilityRequirementSetDecorator getSharedCapabilitySetDecorator()
           
 SuccessPercentageStatisticsBean getStatistics()
           
 SystemInfo getSystemInfo()
           
protected  void initializeAllFields()
           
protected  void initializeBuildList()
           
 void setAgent(PipelineDefinition agent)
           
 void setAgentId(long agentId)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 void setCapabilityHelper(CapabilityHelper capabilityHelper)
           
 void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
           
 void setLocalAgentManager(LocalAgentManager localAgentManager)
           
 void setResultsList(java.util.List<ExtendedBuildResultsSummary> 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, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getPlan, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableJavascript, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, 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
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

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<ExtendedBuildResultsSummary> getResultsList()

setResultsList

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

getExecutableBuilds

public java.util.Collection<Build> getExecutableBuilds()

findLastSuccessfulBuild

@Nullable
public BuildResultsSummary findLastSuccessfulBuild(Build plan)

findLastBuild

@Nullable
public BuildResultsSummary findLastBuild(Build 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)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.