com.atlassian.bamboo.configuration.agent
Class RenameAgentCapability

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
                  extended by com.atlassian.bamboo.configuration.agent.RenameAgentCapability
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:
ExecuteRenameAgentCapability

public class RenameAgentCapability
extends ConfigureCapabilityKey

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  java.lang.String newCapabilityKey
           
 
Fields inherited from class com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
capability, capabilityAgentMappings, capabilityAgentMappingsSorted, capabilityConfigurationManager, capabilityDao, capabilityElasticImageMappings, capabilityHelper, capabilityKey, capabilityType, elasticFunctionalityFacade, localAgentManager, parentUrl, pluginAccessor, requirementPlanMappings, requirementSetDecorator
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
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
RenameAgentCapability()
           
 
Method Summary
 java.lang.String doConfirmRename()
           
 java.lang.String doDefault()
          Default action just sends to the input
 java.util.Map<PipelineDefinition,AgentCapabilityDelta> getCapabilityDeltaMap()
           
 java.lang.String getNewCapabilityKey()
           
 java.lang.String getNewCapabilityLabel()
           
 java.util.List<NameValuePair> getOverrideOptions()
           
 java.lang.String getOverrideValue()
           
 java.util.Map<Buildable,RequirementDelta> getRequirementDeltaMap()
           
 boolean isOverride()
           
 void prepare()
           
 void setNewCapabilityLabel(java.lang.String newCapabilityLabel)
           
 void setOverrideValue(java.lang.String overrideValue)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
doUpdate, getAgent, getCapability, getCapabilityAgentMappings, getCapabilityAgentMappingsSorted, getCapabilityConfiguratorPluginEditHtmlList, getCapabilityConfiguratorPluginViewHtmlList, getCapabilityElasticImageMappings, getCapabilityKey, getCapabilityTabId, getCapabilityType, getHasCapabilityConfiguratorPluginForEditPerspective, getHasCapabilityConfiguratorPluginForViewPerspective, getParentUrl, getRequirementPlanMappings, getRequirementSetDecorator, isElasticBambooEnabled, isElasticSupportPossible, setCapabilityConfigurationManager, setCapabilityDao, setCapabilityHelper, setCapabilityKey, setElasticFunctionalityFacade, setLocalAgentManager, setParentUrl, setPluginAccessor, setRequirementPlanMappings
 
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, 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
 
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

newCapabilityKey

protected java.lang.String newCapabilityKey
Constructor Detail

RenameAgentCapability

public RenameAgentCapability()
Method Detail

prepare

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

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

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 ConfigureCapabilityKey
Throws:
java.lang.Exception

doConfirmRename

public java.lang.String doConfirmRename()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getOverrideOptions

public java.util.List<NameValuePair> getOverrideOptions()

getNewCapabilityKey

public java.lang.String getNewCapabilityKey()

getNewCapabilityLabel

public java.lang.String getNewCapabilityLabel()

setNewCapabilityLabel

public void setNewCapabilityLabel(java.lang.String newCapabilityLabel)

isOverride

public boolean isOverride()

getCapabilityDeltaMap

public java.util.Map<PipelineDefinition,AgentCapabilityDelta> getCapabilityDeltaMap()

getRequirementDeltaMap

public java.util.Map<Buildable,RequirementDelta> getRequirementDeltaMap()

getOverrideValue

public java.lang.String getOverrideValue()

setOverrideValue

public void setOverrideValue(java.lang.String overrideValue)


Copyright © 2010 Atlassian. All Rights Reserved.