java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbPage<T>
io.jenkins.blueocean.blueocean_bitbucket_pipeline.server.model.BbServerPage<T>

public class BbServerPage<T> extends BbPage<T>
Author:
Vivek Pandey
  • Constructor Details

    • BbServerPage

      public BbServerPage(int start, int limit, int size, List<T> values, boolean isLastPage)
  • Method Details

    • getStart

      public int getStart()
      Specified by:
      getStart in class BbPage<T>
      Returns:
      Starting index, starting from 0
    • getLimit

      public int getLimit()
      Specified by:
      getLimit in class BbPage<T>
      Returns:
      Requested page size
    • getSize

      public int getSize()
      Specified by:
      getSize in class BbPage<T>
      Returns:
      Number of items in this page
    • getValues

      public List<T> getValues()
      Specified by:
      getValues in class BbPage<T>
      Returns:
      Items in this page
    • isLastPage

      public boolean isLastPage()
      Specified by:
      isLastPage in class BbPage<T>
      Returns:
      true if this is last page