Class RenameAgentCapability
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.bamboo.ww2.BambooActionSupport
-
- com.atlassian.bamboo.configuration.GlobalAdminAction
-
- com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
-
- com.atlassian.bamboo.configuration.agent.RenameAgentCapability
-
- All Implemented Interfaces:
JsonStreamingAction
,ErrorCollection
,BambooSessionAware
,NavigationAware
,DomainObjectSecurityAware
,GlobalAdminSecurityAware
,GlobalReadSecurityAware
,ReturnUrlAware
,com.atlassian.core.i18n.I18nTextProvider
,com.atlassian.struts.TextProvider
,com.atlassian.struts.ValidationAware
,com.opensymphony.xwork.ValidationAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.Preparable
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- 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
Fields Modifier and Type Field Description protected String
newCapabilityKey
-
Fields inherited from class com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
agentManager, capability, capabilityAgentMappings, capabilityAgentMappingsSorted, capabilityConfigurationManager, capabilityDao, capabilityElasticImageMappings, capabilityEphemeralAgentTemplateMappings, capabilityHelper, capabilityKey, capabilityType, deploymentEnvironmentRequirementSetDecorator, elasticFunctionalityFacade, environmentService, ephemeralAgentsService, jobRequirementSetDecorator, parentUrl, requirementDeploymentEnvironmentMappings, requirementPlanMappings, selectedTab
-
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
-
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description RenameAgentCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
confirmRename()
String
doDefault()
Default action just sends to the inputMap<PipelineDefinition,AgentCapabilityDelta>
getCapabilityDeltaMap()
String
getNewCapabilityKey()
String
getNewCapabilityLabel()
List<NameValuePair>
getOverrideOptions()
String
getOverrideValue()
Map<DecoratedEnvironment,RequirementDelta>
getRequirementEnvironmentDeltaMap()
Map<ImmutableJob,RequirementDelta>
getRequirementPlanDeltaMap()
boolean
isOverride()
void
setNewCapabilityLabel(String newCapabilityLabel)
void
setOverrideValue(String overrideValue)
void
validate()
-
Methods inherited from class com.atlassian.bamboo.configuration.agent.ConfigureCapabilityKey
getAgent, getCapability, getCapabilityAgentMappings, getCapabilityAgentMappingsSorted, getCapabilityConfiguratorPluginEditHtmlList, getCapabilityConfiguratorPluginViewHtmlList, getCapabilityElasticImageMappings, getCapabilityEphemeralAgentTemplateMappings, getCapabilityKey, getCapabilityTabId, getCapabilityType, getDeploymentEnvironmentRequirementSetDecorator, getHasCapabilityConfiguratorPluginForEditPerspective, getHasCapabilityConfiguratorPluginForViewPerspective, getJobRequirementSetDecorator, getParentUrl, getRequirementsFromKey, getSelectedTab, isElasticBambooEnabled, isElasticSupportPossible, isEphemeralAgentsEnabled, prepare, setAgentManager, setCapabilityConfigurationManager, setCapabilityDao, setCapabilityHelper, setCapabilityKey, setElasticFunctionalityFacade, setEnvironmentService, setEphemeralAgentsService, setParentUrl, setSelectedTab, update
-
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
-
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNodeLifecycleState, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getRandomString, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setNodeLifecycleProvider, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setWebInterfaceManager, streamJson, toJson, toJson
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, 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
getAllErrorMessages
-
-
-
-
Field Detail
-
newCapabilityKey
protected String newCapabilityKey
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classcom.opensymphony.xwork2.ActionSupport
-
doDefault
public String doDefault() throws Exception
Description copied from class:BambooActionSupport
Default action just sends to the input- Overrides:
doDefault
in classConfigureCapabilityKey
- Throws:
Exception
-
getOverrideOptions
public List<NameValuePair> getOverrideOptions()
-
getNewCapabilityKey
public String getNewCapabilityKey()
-
getNewCapabilityLabel
public String getNewCapabilityLabel()
-
setNewCapabilityLabel
public void setNewCapabilityLabel(String newCapabilityLabel)
-
isOverride
public boolean isOverride()
-
getCapabilityDeltaMap
public Map<PipelineDefinition,AgentCapabilityDelta> getCapabilityDeltaMap()
-
getRequirementPlanDeltaMap
public Map<ImmutableJob,RequirementDelta> getRequirementPlanDeltaMap()
-
getRequirementEnvironmentDeltaMap
public Map<DecoratedEnvironment,RequirementDelta> getRequirementEnvironmentDeltaMap()
-
getOverrideValue
public String getOverrideValue()
-
setOverrideValue
public void setOverrideValue(String overrideValue)
-
-