Class ListBuildResults

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BuildableAware, LazyPaginationAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, 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 ListBuildResults extends BuildActionSupport implements LazyPaginationAware, PlanReadSecurityAware
See Also:
  • Constructor Details

    • ListBuildResults

      public ListBuildResults()
  • Method Details

    • getPager

      public Pager getPager()
      Description copied from interface: LazyPaginationAware
      Freemarker views for LazyPaginationAware actions should iterate over pager.page.list
      Specified by:
      getPager in interface LazyPaginationAware
      Returns:
      Pager object
    • setPager

      public void setPager(Pager pager)
      Description copied from interface: LazyPaginationAware
      Used to inject pager by PaginationAwareInterceptor
      Specified by:
      setPager in interface LazyPaginationAware
      Parameters:
      pager - Pager object
    • getResultsList

      public List<ResultsSummary> getResultsList()
    • getFilteredResultsList

      @NotNull public @NotNull List<ResultsSummary> getFilteredResultsList(int firstResult, int maxResults)
      Description copied from interface: LazyPaginationAware
      Implementing actions should initialize and return up to maxResults items ranging from firstResult from the underlying list of uninitialized items
      Specified by:
      getFilteredResultsList in interface LazyPaginationAware
      Parameters:
      firstResult - index of first item
      maxResults - number of items to be returned
      Returns:
      range of initialized results from underlying full list of uninitialized items
    • getResultsCount

      public int getResultsCount()
      Description copied from interface: LazyPaginationAware
      Implementing actions should return a total number of items that are subject to pagination
      Specified by:
      getResultsCount in interface LazyPaginationAware
      Returns:
      number of items in the underlying list