Class GotoBuildResult

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ResultsSummaryAware, 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 GotoBuildResult extends PlanResultsAction
See Also:
  • Constructor Details

    • GotoBuildResult

      public GotoBuildResult()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getReturnUrl

      public String getReturnUrl()
      Validate that requested build numbers falls between first and last build summary's build numbers.
      Specified by:
      getReturnUrl in interface ReturnUrlAware
      Overrides:
      getReturnUrl in class BambooActionSupport
      Returns:
      URL with corrected build number.