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

Field Summary
protected  java.lang.String newCapabilityKey
           
 
Fields inherited from class com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
capability, capabilityAgentMappings, capabilityDao, capabilityElasticImageMappings, capabilityHelper, capabilityKey, capabilityType, localAgentManager, requirementPlanMappings, 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
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<Build,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
getAgent, getCapability, getCapabilityAgentMappings, getCapabilityElasticImageMappings, getCapabilityKey, getCapabilityType, getRequirementPlanMappings, getRequirementSetDecorator, setCapabilityDao, setCapabilityHelper, setCapabilityKey, setLocalAgentManager, 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, 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
 
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

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<Build,RequirementDelta> getRequirementDeltaMap()

getOverrideValue

public java.lang.String getOverrideValue()

setOverrideValue

public void setOverrideValue(java.lang.String overrideValue)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.