java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.deployments.environments.actions.CloneEnvironment
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DeploymentProjectEditSecurityAware, DeploymentProjectReadOnlyInterceptorAware, 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 CloneEnvironment extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentProjectEditSecurityAware
See Also:
  • Constructor Details

    • CloneEnvironment

      public CloneEnvironment()
  • Method Details

    • prepare

      public void prepare()
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
    • doDefault

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

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

      public DeploymentProject getSecuredDomainObject()
      Specified by:
      getSecuredDomainObject in interface DeploymentProjectReadOnlyInterceptorAware
      Specified by:
      getSecuredDomainObject in interface DomainObjectSecurityAware
      Overrides:
      getSecuredDomainObject in class BambooActionSupport
    • validate

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

      public long getDeploymentProjectId()
    • setDeploymentProjectId

      public void setDeploymentProjectId(long deploymentProjectId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getId

      public long getId()
    • getDeploymentProject

      public DeploymentProject getDeploymentProject()
    • getSourceEnvironment

      public Environment getSourceEnvironment()
    • getUiConfigBean

      public UIConfigSupport getUiConfigBean()
    • setUiConfigBean

      public void setUiConfigBean(UIConfigSupport uiConfigBean)
    • getSourceEnvironmentId

      public long getSourceEnvironmentId()
    • setSourceEnvironmentId

      public void setSourceEnvironmentId(long sourceEnvironmentId)