Class StopPlan

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanExecuteSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, UserAware, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

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 org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.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)