Interface Pageable<T>

All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
BlueArtifactContainer, BlueFavoriteContainer, BlueOrganizationContainer, BluePipelineContainer, BluePipelineNodeContainer, BluePipelineStepContainer, BlueQueueContainer, BlueRunContainer, BlueTestResultContainer, BlueTrendContainer, BlueUserContainer, Container, Containers.AbstractContainer

public interface Pageable<T> extends Iterable<T>
Author:
Kohsuke Kawaguchi
  • Method Summary

    Modifier and Type
    Method
    Description
    iterator(int start, int limit)
    Returns a iterator that visits a subset, which is used by the HTTP layer to do the pagination.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • iterator

      Iterator<T> iterator(int start, int limit)
      Returns a iterator that visits a subset, which is used by the HTTP layer to do the pagination.
      Parameters:
      start - starting index requested from collection
      limit - max number of item requested in the page
      Returns:
      filtered collection