Class DeleteDeploymentResult

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

    • DeleteDeploymentResult

      public DeleteDeploymentResult()
  • Method Details

    • getSecuredDomainObject

      public Environment getSecuredDomainObject()
      Specified by:
      getSecuredDomainObject in interface DeploymentEnvironmentReadOnlyInterceptorAware
      Specified by:
      getSecuredDomainObject in interface DomainObjectSecurityAware
      Overrides:
      getSecuredDomainObject in class BambooActionSupport
    • prepare

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

      public String input()
      Overrides:
      input in class com.opensymphony.xwork2.ActionSupport
    • delete

      public String delete()
    • buildJsonObject

      @NotNull protected @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Description copied from class: BambooActionSupport
      Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly. If descending classes need to add anything to JSON response these should override this method.
      Overrides:
      buildJsonObject in class BambooActionSupport
      Returns:
      Initialized JSONObject
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
    • getDeploymentResult

      public DeploymentResult getDeploymentResult()
    • isDeploymentResultCurrentlyDeployed

      public boolean isDeploymentResultCurrentlyDeployed()
    • getDeploymentVersion

      public DeploymentVersion getDeploymentVersion()
    • getEnvironment

      public Environment getEnvironment()
    • getEnvironmentId

      public long getEnvironmentId()
    • setDeploymentResultDeletionService

      public void setDeploymentResultDeletionService(DeploymentResultDeletionService deploymentResultDeletionService)
    • setDeploymentResultService

      public void setDeploymentResultService(DeploymentResultService deploymentResultService)
    • getDeploymentResultId

      public long getDeploymentResultId()
    • setDeploymentResultId

      public void setDeploymentResultId(long deploymentResultId)