java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.deployments.environments.actions.MoveEnvironment
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 MoveEnvironment extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentProjectEditSecurityAware
See Also:
  • Constructor Details

    • MoveEnvironment

      public MoveEnvironment()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
      Throws:
      Exception
    • getEnvironment

      public Environment getEnvironment()
    • getSecuredDomainObject

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

      public String move()
    • getDeploymentProjectId

      public long getDeploymentProjectId()
    • getEnvironmentId

      public long getEnvironmentId()
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getRelatedEnvId

      public long getRelatedEnvId()
    • setRelatedEnvId

      public void setRelatedEnvId(long relatedEnvId)
    • getCurrentPosition

      public int getCurrentPosition()
    • setCurrentPosition

      public void setCurrentPosition(int currentPosition)
    • getMoveEnvironmentStrategy

      public String getMoveEnvironmentStrategy()
    • setMoveEnvironmentStrategy

      public void setMoveEnvironmentStrategy(String moveEnvironmentStrategy)
    • getDeploymentProject

      public DeploymentProject getDeploymentProject()