Class StopPlan

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanExecuteSecurityAware, 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 StopPlan extends PlanActionSupport implements PlanExecuteSecurityAware
This class provides a user action to stop the current build job
See Also:
  • Constructor Details

    • StopPlan

      public StopPlan()
  • Method Details

    • execute

      public String execute() throws Exception
      Stop the current build
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Returns:
      WebWork success status - the name of the view to display
      Throws:
      Exception - A generic failure
    • isAbandonResult

      public boolean isAbandonResult()
    • setAbandonResult

      public void setAbandonResult(boolean abandonResult)