public class ConfigureVariablesForEnvironment extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentEditSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected VariableConfigurationService |
variableConfigurationService |
protected VariableDefinitionManager |
variableDefinitionManager |
protected String |
variableKey |
protected VariableValidationService |
variableValidationService |
protected String |
variableValue |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureVariablesForEnvironment() |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, 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, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFormatted, getLocale, 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 variableKey
protected String variableValue
protected VariableConfigurationService variableConfigurationService
protected VariableDefinitionManager variableDefinitionManager
protected VariableValidationService variableValidationService
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
protected void validateId()
protected long getUnmaskedVariabledId()
protected void validateKey()
protected void validateValue()
public Environment getEnvironment()
public DeploymentProject getDeploymentProject()
public Environment getSecuredDomainObject()
getSecuredDomainObject
in interface DeploymentEnvironmentEditSecurityAware
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public Collection<? extends VariableDefinition> getVariables()
public List<VariableDefinition> getInheritedVariables()
public Map<String,VariableDefinition> getOverriddenVariablesMap()
public List<VariableDefinition> getGlobalNotOverriddenVariables()
public Map<String,VariableDefinition> getVariableMap()
public long getEnvironmentId()
public void setEnvironmentId(long environmentId)
public long getVariableId()
public void setVariableId(long variableId)
public String getVariableKey()
public void setVariableKey(String variableKey)
public String getVariableValue()
public void setVariableValue(String variableValue)
public void setVariableDefinitionManager(VariableDefinitionManager variableDefinitionManager)
public void setVariableValidationService(VariableValidationService variableValidationService)
public void setVariableConfigurationService(VariableConfigurationService variableConfigurationService)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences