Class ViewNextBuildResults

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BuildableAware, BuildResultsAware, BuildResultsSummaryAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ResultsSummaryAware, 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 ViewNextBuildResults extends ViewBuildResults
This class displays the next BuildResultsImpl from the one we are currently viewing
See Also:
  • Constructor Details

    • ViewNextBuildResults

      public ViewNextBuildResults()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class ViewBuildResults
      Throws:
      Exception
    • getNextBuildNumber

      protected int getNextBuildNumber(ImmutablePlan plan, int currentBuildNumber)
      Return the next build to the given currentBuildNumber.
      Parameters:
      plan - The Build we're viewing
      currentBuildNumber - The current build people we're viewing
      Returns:
      The next build
    • getReturnUrl

      public String getReturnUrl()
      Specified by:
      getReturnUrl in interface ReturnUrlAware
      Overrides:
      getReturnUrl in class BambooActionSupport