Class ConfigureEnvironment
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.bamboo.ww2.BambooActionSupport
-
- com.atlassian.bamboo.deployments.environments.actions.ConfigureEnvironment
-
- All Implemented Interfaces:
JsonStreamingAction,ErrorCollection,BambooSessionAware,NavigationAware,DeploymentEnvironmentReadOnlyInterceptorAware,DeploymentEnvironmentViewConfigurationSecurityAware,DomainObjectSecurityAware,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
public class ConfigureEnvironment extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentViewConfigurationSecurityAware
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
-
-
Field Summary
-
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, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description ConfigureEnvironment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoDefault()Default action just sends to the inputStringexecute()DeploymentProjectgetDeploymentProject()longgetDeploymentProjectId()StringgetDescription()EnvironmentgetEnvironment()longgetId()StringgetName()List<ReleaseApprovalPrerequisite>getPossibleReleaseApprovalPrerequisites()ReleaseApprovalPrerequisitegetReleaseApprovalPrerequisite()EnvironmentgetSecuredDomainObject()voidprepare()voidsetDescription(String description)voidsetFeatureManager(FeatureManager featureManager)voidsetId(long id)voidsetName(String name)voidsetReleaseApprovalPrerequisite(ReleaseApprovalPrerequisite releaseApprovalPrerequisite)voidsetSaveContinue(String saveContinue)voidvalidate()-
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, setEnvironmentService, setErrorMessages, 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, 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
-
-
-
-
Method Detail
-
prepare
public void prepare()
- Specified by:
preparein interfacecom.opensymphony.xwork2.Preparable
-
doDefault
public String doDefault()
Description copied from class:BambooActionSupportDefault action just sends to the input- Overrides:
doDefaultin classBambooActionSupport
-
execute
public String execute()
- Specified by:
executein interfacecom.opensymphony.xwork2.Action- Overrides:
executein classcom.opensymphony.xwork2.ActionSupport
-
getEnvironment
public Environment getEnvironment()
-
getSecuredDomainObject
public Environment getSecuredDomainObject()
- Specified by:
getSecuredDomainObjectin interfaceDeploymentEnvironmentReadOnlyInterceptorAware- Specified by:
getSecuredDomainObjectin interfaceDomainObjectSecurityAware- Overrides:
getSecuredDomainObjectin classBambooActionSupport
-
validate
public void validate()
- Specified by:
validatein interfacecom.opensymphony.xwork2.Validateable- Overrides:
validatein classcom.opensymphony.xwork2.ActionSupport
-
getDeploymentProjectId
public long getDeploymentProjectId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getDeploymentProject
public DeploymentProject getDeploymentProject()
-
getReleaseApprovalPrerequisite
public ReleaseApprovalPrerequisite getReleaseApprovalPrerequisite()
-
getPossibleReleaseApprovalPrerequisites
public List<ReleaseApprovalPrerequisite> getPossibleReleaseApprovalPrerequisites()
-
setReleaseApprovalPrerequisite
public void setReleaseApprovalPrerequisite(ReleaseApprovalPrerequisite releaseApprovalPrerequisite)
-
setSaveContinue
public void setSaveContinue(String saveContinue)
-
setFeatureManager
public void setFeatureManager(FeatureManager featureManager)
- Overrides:
setFeatureManagerin classBambooActionSupport
-
-