All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DeploymentEnvironmentEditSecurityAware, 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 CreateEnvironmentTask extends ConfigureEnvironmentTasks implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentEditSecurityAware
See Also:
  • Field Details

    • taskId

      protected long taskId
    • taskName

      protected String taskName
    • userDescription

      protected String userDescription
    • taskDisabled

      protected boolean taskDisabled
    • conditionalTask

      protected boolean conditionalTask
    • jsonObject

      protected com.opensymphony.webwork.dispatcher.json.JSONObject jsonObject
  • Constructor Details

    • CreateEnvironmentTask

      public CreateEnvironmentTask()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
      Overrides:
      prepare in class ConfigureEnvironmentTasks
      Throws:
      Exception
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class ConfigureEnvironmentTasks
    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • getJsonObject

      @NotNull public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Description copied from class: BambooActionSupport
      This is default property read by webwork for webwork's result type "json".
      Overrides:
      getJsonObject in class BambooActionSupport
      Returns:
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
      See Also:
      • JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

    • getSubmitAction

      public String getSubmitAction()
    • setCreateTaskKey

      public void setCreateTaskKey(String createTaskKey)
    • getCreateTaskKey

      public String getCreateTaskKey()
    • getEditHtml

      public String getEditHtml()
    • getTaskId

      public long getTaskId()
    • setTaskId

      public void setTaskId(long taskId)
    • getTaskName

      public String getTaskName()
    • setTaskName

      public void setTaskName(String taskName)
    • getUserDescription

      public String getUserDescription()
    • setUserDescription

      public void setUserDescription(String userDescription)
    • isTaskDisabled

      public boolean isTaskDisabled()
    • setTaskDisabled

      public void setTaskDisabled(boolean taskDisabled)
    • isConditionalTask

      public boolean isConditionalTask()
    • setConditionalTask

      public void setConditionalTask(boolean conditionalTask)
    • getTaskHelpLink

      public TaskHelpLink getTaskHelpLink()