public class ConfigureVariablesForEnvironment extends AbstractEnvironmentConfigurationAction implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentViewConfigurationSecurityAware
BambooActionSupport.JSONStatus| Modifier and Type | Field and Description |
|---|---|
protected String |
variableKey |
protected String |
variableValue |
bambooPermissionManagerACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager| Constructor and Description |
|---|
ConfigureVariablesForEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentProject |
getDeploymentProject() |
Environment |
getEnvironment() |
long |
getEnvironmentId() |
List<VariableDefinition> |
getGlobalNotOverriddenVariables() |
List<VariableDefinition> |
getInheritedVariables() |
Map<String,VariableDefinition> |
getOverriddenVariablesMap() |
Environment |
getSecuredDomainObject() |
protected long |
getUnmaskedVariabledId() |
long |
getVariableId() |
String |
getVariableKey() |
Map<String,VariableDefinition> |
getVariableMap() |
Collection<? extends VariableDefinition> |
getVariables() |
String |
getVariableValue() |
void |
prepare() |
void |
setEnvironmentId(long environmentId) |
void |
setVariableId(long variableId) |
void |
setVariableKey(String variableKey) |
void |
setVariableValue(String variableValue) |
protected void |
validateId() |
protected void |
validateKey() |
protected void |
validateKeyAndValue() |
isReadOnlyisRepositorySpecsManagedaddActionError, 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, 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, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJsonaddActionMessage, 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, validateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllErrorMessagespublic void prepare()
prepare in interface com.opensymphony.xwork2.Preparableprotected void validateId()
protected long getUnmaskedVariabledId()
protected void validateKey()
protected void validateKeyAndValue()
public Environment getEnvironment()
getEnvironment in class AbstractEnvironmentConfigurationActionpublic DeploymentProject getDeploymentProject()
getDeploymentProject in class AbstractDeploymentProjectConfigurationActionpublic Environment getSecuredDomainObject()
getSecuredDomainObject in interface DeploymentEnvironmentReadOnlyInterceptorAwaregetSecuredDomainObject in interface DomainObjectSecurityAwaregetSecuredDomainObject in class BambooActionSupportpublic 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)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.