com.atlassian.bamboo.configuration.agent
Class ConfigureCapabilityKey
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
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
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 |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, 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 |
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
capabilityAgentMappingsSorted
protected com.google.common.collect.Multimap<Capability,BuildAgent> capabilityAgentMappingsSorted
parentUrl
protected java.lang.String parentUrl
localAgentManager
protected LocalAgentManager localAgentManager
capabilityDao
protected CapabilityDao capabilityDao
capabilityHelper
protected CapabilityHelper capabilityHelper
pluginAccessor
protected com.atlassian.plugin.PluginAccessor pluginAccessor
capabilityConfigurationManager
protected CapabilityConfigurationManager capabilityConfigurationManager
elasticFunctionalityFacade
protected ElasticFunctionalityFacade elasticFunctionalityFacade
ConfigureCapabilityKey
public ConfigureCapabilityKey()
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
doUpdate
public java.lang.String doUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCapabilityTabId
public java.lang.String getCapabilityTabId()
getCapabilityAgentMappings
public java.util.List<CapabilityAgentMapping> getCapabilityAgentMappings()
getCapabilityAgentMappingsSorted
public java.util.Collection<java.util.Map.Entry<Capability,BuildAgent>> getCapabilityAgentMappingsSorted()
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)
getHasCapabilityConfiguratorPluginForEditPerspective
public boolean getHasCapabilityConfiguratorPluginForEditPerspective()
getCapabilityConfiguratorPluginEditHtmlList
public java.util.List<java.lang.String> getCapabilityConfiguratorPluginEditHtmlList()
getHasCapabilityConfiguratorPluginForViewPerspective
public boolean getHasCapabilityConfiguratorPluginForViewPerspective()
getCapabilityConfiguratorPluginViewHtmlList
public java.util.List<java.lang.String> getCapabilityConfiguratorPluginViewHtmlList()
isElasticBambooEnabled
public boolean isElasticBambooEnabled()
isElasticSupportPossible
public boolean isElasticSupportPossible()
getParentUrl
public java.lang.String getParentUrl()
setParentUrl
public void setParentUrl(java.lang.String parentUrl)
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)
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setCapabilityConfigurationManager
public void setCapabilityConfigurationManager(CapabilityConfigurationManager capabilityConfigurationManager)
setElasticFunctionalityFacade
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
Copyright © 2010 Atlassian. All Rights Reserved.