public class ConfigureCapabilityKey extends GlobalAdminAction implements com.opensymphony.xwork2.Preparable
BambooActionSupport.JSONStatus
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
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 and Description |
---|
ConfigureCapabilityKey() |
getSecuredDomainObject
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, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, 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, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, 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, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
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, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
protected String capabilityKey
protected List<CapabilityAgentMapping> capabilityAgentMappings
protected List<CapabilityElasticImageMapping> capabilityElasticImageMappings
protected List<RequirementImmutablePlanMapping> requirementPlanMappings
protected List<RequirementDeploymentMapping> requirementDeploymentEnvironmentMappings
protected CapabilityType capabilityType
protected CapabilityRequirementSetDecorator jobRequirementSetDecorator
protected CapabilityRequirementSetDecorator deploymentEnvironmentRequirementSetDecorator
protected CapabilityDecorator capability
protected com.google.common.collect.Multimap<Capability,BuildAgent> capabilityAgentMappingsSorted
protected String parentUrl
protected String selectedTab
protected AgentManager agentManager
protected CapabilityDao capabilityDao
protected EnvironmentService environmentService
protected CapabilityHelper capabilityHelper
protected CapabilityConfigurationManager capabilityConfigurationManager
protected ElasticFunctionalityFacade elasticFunctionalityFacade
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
protected List<RequirementImmutablePlanMapping> getRequirementsFromKey(@NotNull String capabilityKey)
public String doDefault() throws Exception
BambooActionSupport
doDefault
in class BambooActionSupport
Exception
public String getCapabilityTabId()
public List<CapabilityAgentMapping> getCapabilityAgentMappings()
public Collection<Map.Entry<Capability,BuildAgent>> getCapabilityAgentMappingsSorted()
public List<CapabilityElasticImageMapping> getCapabilityElasticImageMappings()
public CapabilityType getCapabilityType()
public CapabilityRequirementSetDecorator getJobRequirementSetDecorator()
public CapabilityRequirementSetDecorator getDeploymentEnvironmentRequirementSetDecorator()
public CapabilityDecorator getCapability()
@Nullable public BuildAgent getAgent(Long id)
public boolean getHasCapabilityConfiguratorPluginForEditPerspective()
public List<String> getCapabilityConfiguratorPluginEditHtmlList()
public boolean getHasCapabilityConfiguratorPluginForViewPerspective()
public List<String> getCapabilityConfiguratorPluginViewHtmlList()
public boolean isElasticBambooEnabled()
public boolean isElasticSupportPossible()
public String getParentUrl()
public void setParentUrl(String parentUrl)
public String getSelectedTab()
public void setSelectedTab(String selectedTab)
public String getCapabilityKey()
public void setCapabilityKey(String capabilityKey)
public void setCapabilityDao(CapabilityDao capabilityDao)
public void setEnvironmentService(EnvironmentService environmentService)
setEnvironmentService
in class BambooActionSupport
public void setCapabilityHelper(CapabilityHelper capabilityHelper)
public void setAgentManager(AgentManager agentManager)
public void setCapabilityConfigurationManager(CapabilityConfigurationManager capabilityConfigurationManager)
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.