Class DeletePlan

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAdminSecurityAware, PlanAware, ProjectAware, 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.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class DeletePlan extends PlanActionSupport implements PlanAdminSecurityAware
See Also:
  • Constructor Details

    • DeletePlan

      public DeletePlan()
  • Method Details

    • doDelete

      public String doDelete()
    • 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
    • getJobsContainingInvalidSubscriptions

      @NotNull public @NotNull com.google.common.collect.Multimap<ChainStage,Job> getJobsContainingInvalidSubscriptions()
    • getNumberOfChainBranches

      public int getNumberOfChainBranches()
    • getLinkedDeploymentProjects

      public List<DeploymentProject> getLinkedDeploymentProjects()
    • getNumberOfExecutions

      public int getNumberOfExecutions(PlanKey planKey)
    • setArtifactSubscriptionManager

      public void setArtifactSubscriptionManager(ArtifactSubscriptionManager artifactSubscriptionManager)
    • setDeletionService

      public void setDeletionService(DeletionService deletionService)