java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbPage<T>
Direct Known Subclasses:
BbCloudPage, BbServerPage

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class BbPage<T> extends Object
Bitbucket pagination.
Author:
Vivek Pandey
  • Constructor Details

    • BbPage

      public BbPage()
  • Method Details

    • getStart

      public abstract int getStart()
      Returns:
      Starting index, starting from 0
    • getLimit

      public abstract int getLimit()
      Returns:
      Requested page size
    • getSize

      public abstract int getSize()
      Returns:
      Number of items in this page
    • getValues

      public abstract List<T> getValues()
      Returns:
      Items in this page
    • isLastPage

      public abstract boolean isLastPage()
      Returns:
      true if this is last page