public class DeleteEnvironmentTask extends ConfigureEnvironmentTasks implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentEditSecurityAware
BambooActionSupport.JSONStatusconditions, deploymentProjectService, environment, environmentId, INVALID_PLUGIN, selectedCondition, taskManager, taskOwnerFactory, taskUIConfigBeanbambooPermissionManagerACCESS_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 |
|---|
DeleteEnvironmentTask() |
| Modifier and Type | Method and Description |
|---|---|
String |
confirmDelete() |
String |
execute() |
@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
This is default property read by webwork for webwork's result type "json".
|
long |
getTaskId() |
void |
prepare() |
void |
setEnvironmentTaskService(EnvironmentTaskService environmentTaskService) |
void |
setTaskId(long taskId) |
conditionHtml, getAvailableCategoryJson, getAvailableTasks, getConditions, getDeploymentProject, getEnvironment, getEnvironmentId, getExistingTasks, getFinalisingTasks, getSecuredDomainObject, getSelectedCondition, getTaskById, getTaskConditions, isDeleted, isSaved, setDeleted, setEnvironmentId, setSaved, setSelectedCondition, setTaskManager, setTaskOwnerFactory, setTaskUIConfigBeanisReadOnlyisRepositorySpecsManagedaddActionError, 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, 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, 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, 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, waitgetSecuredDomainObjectgetAllErrorMessagespublic void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.Preparableprepare in class ConfigureEnvironmentTasksExceptionpublic String confirmDelete()
public String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class ConfigureEnvironmentTasks@NotNull
public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
BambooActionSupportgetJsonObject in class BambooActionSupportcom.opensymphony.webwork.dispatcher.json.JSONExceptionIf descending classes need to add anything to JSON response these should override {@link #buildJsonObject()} method.
public long getTaskId()
public void setTaskId(long taskId)
public void setEnvironmentTaskService(EnvironmentTaskService environmentTaskService)
setEnvironmentTaskService in class ConfigureEnvironmentTasksCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.