public class EditEnvironmentTask extends ConfigureEnvironmentTasks implements com.opensymphony.xwork2.Preparable
BambooActionSupport.JSONStatus| Modifier and Type | Field and Description |
|---|---|
protected com.opensymphony.webwork.dispatcher.json.JSONObject |
jsonObject |
protected TaskDefinition |
taskDefinition |
protected boolean |
taskDisabled |
protected long |
taskId |
protected String |
taskName |
protected String |
userDescription |
deploymentProjectService, environment, environmentId, environmentTaskService, INVALID_PLUGIN, taskManager, taskOwnerFactory, taskUIConfigBeanACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager| Constructor and Description |
|---|
EditEnvironmentTask() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getEditHtml() |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
This is default property read by webwork for webwork's result type "json".
|
String |
getSubmitAction() |
TaskDefinition |
getTaskDefinition() |
TaskHelpLink |
getTaskHelpLink() |
long |
getTaskId() |
String |
getTaskName() |
String |
getUserDescription() |
String |
input() |
boolean |
isTaskDisabled() |
void |
prepare() |
void |
setTaskDisabled(boolean taskDisabled) |
void |
setTaskId(long taskId) |
void |
setTaskName(String taskName) |
void |
setUserDescription(String userDescription) |
void |
validate() |
getAvailableCategoryJson, getAvailableTasks, getDeploymentProject, getEnvironment, getEnvironmentId, getExistingTasks, getFinalisingTasks, getSecuredDomainObject, getTaskById, isDeleted, isSaved, setDeleted, setEnvironmentId, setEnvironmentTaskService, setSaved, setTaskManager, setTaskOwnerFactory, setTaskUIConfigBeanaddActionError, 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, hasRestrictedAdminPermission, 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, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJsonaddActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllErrorMessagesprotected long taskId
protected String taskName
protected String userDescription
protected boolean taskDisabled
protected com.opensymphony.webwork.dispatcher.json.JSONObject jsonObject
protected TaskDefinition taskDefinition
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.Preparableprepare in class ConfigureEnvironmentTasksExceptionpublic String input()
input in class com.opensymphony.xwork2.ActionSupportpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class ConfigureEnvironmentTaskspublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupport@NotNull
public 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 String getSubmitAction()
public String getEditHtml()
public long getTaskId()
public void setTaskId(long taskId)
public String getTaskName()
public void setTaskName(String taskName)
public String getUserDescription()
public void setUserDescription(String userDescription)
public boolean isTaskDisabled()
public void setTaskDisabled(boolean taskDisabled)
public TaskDefinition getTaskDefinition()
public TaskHelpLink getTaskHelpLink()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.