com.atlassian.bamboo.configuration.agent
Class ConfigureCapabilityKey

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.Preparable, 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:
RenameAgentCapability

public class ConfigureCapabilityKey
extends GlobalAdminAction
implements com.opensymphony.xwork.Preparable

Action that mananges the ineteraction with capabilities from a key level

See Also:
Serialized Form

Field Summary
protected  CapabilityDecorator capability
           
protected  java.util.List<CapabilityAgentMapping> capabilityAgentMappings
           
protected  CapabilityDao capabilityDao
           
protected  java.util.List<CapabilityElasticImageMapping> capabilityElasticImageMappings
           
protected  CapabilityHelper capabilityHelper
           
protected  java.lang.String capabilityKey
           
protected  CapabilityType capabilityType
           
protected  LocalAgentManager localAgentManager
           
protected  java.util.List<RequirementPlanMapping> requirementPlanMappings
           
protected  CapabilityRequirementSetDecorator requirementSetDecorator
           
 
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
ConfigureCapabilityKey()
           
 
Method Summary
 java.lang.String doDefault()
          Default action just sends to the input
 BuildAgent getAgent(java.lang.Long id)
           
 CapabilityDecorator getCapability()
           
 java.util.List<CapabilityAgentMapping> getCapabilityAgentMappings()
           
 java.util.List<CapabilityElasticImageMapping> getCapabilityElasticImageMappings()
           
 java.lang.String getCapabilityKey()
           
 CapabilityType getCapabilityType()
           
 java.util.List<RequirementPlanMapping> getRequirementPlanMappings()
           
 CapabilityRequirementSetDecorator getRequirementSetDecorator()
           
 void prepare()
           
 void setCapabilityDao(CapabilityDao capabilityDao)
           
 void setCapabilityHelper(CapabilityHelper capabilityHelper)
           
 void setCapabilityKey(java.lang.String capabilityKey)
           
 void setLocalAgentManager(LocalAgentManager localAgentManager)
           
 void setRequirementPlanMappings(java.util.List<RequirementPlanMapping> requirementPlanMappings)
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
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, 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

capabilityKey

protected java.lang.String capabilityKey

capabilityAgentMappings

protected java.util.List<CapabilityAgentMapping> capabilityAgentMappings

capabilityElasticImageMappings

protected java.util.List<CapabilityElasticImageMapping> capabilityElasticImageMappings

requirementPlanMappings

protected java.util.List<RequirementPlanMapping> requirementPlanMappings

capabilityType

protected CapabilityType capabilityType

requirementSetDecorator

protected CapabilityRequirementSetDecorator requirementSetDecorator

capability

protected CapabilityDecorator capability

localAgentManager

protected LocalAgentManager localAgentManager

capabilityDao

protected CapabilityDao capabilityDao

capabilityHelper

protected CapabilityHelper capabilityHelper
Constructor Detail

ConfigureCapabilityKey

public ConfigureCapabilityKey()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Specified by:
prepare in interface com.opensymphony.xwork.Preparable
Throws:
java.lang.Exception

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

getCapabilityAgentMappings

public java.util.List<CapabilityAgentMapping> getCapabilityAgentMappings()

getCapabilityElasticImageMappings

public java.util.List<CapabilityElasticImageMapping> getCapabilityElasticImageMappings()

getCapabilityType

public CapabilityType getCapabilityType()

getRequirementPlanMappings

public java.util.List<RequirementPlanMapping> getRequirementPlanMappings()

setRequirementPlanMappings

public void setRequirementPlanMappings(java.util.List<RequirementPlanMapping> requirementPlanMappings)

getRequirementSetDecorator

public CapabilityRequirementSetDecorator getRequirementSetDecorator()

getCapability

public CapabilityDecorator getCapability()

getAgent

public BuildAgent getAgent(java.lang.Long id)

getCapabilityKey

public java.lang.String getCapabilityKey()

setCapabilityKey

public void setCapabilityKey(java.lang.String capabilityKey)

setCapabilityDao

public void setCapabilityDao(CapabilityDao capabilityDao)

setCapabilityHelper

public void setCapabilityHelper(CapabilityHelper capabilityHelper)

setLocalAgentManager

public void setLocalAgentManager(LocalAgentManager localAgentManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.