java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbPage<T>
io.jenkins.blueocean.blueocean_bitbucket_pipeline.cloud.model.BbCloudPage<T>

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

    • BbCloudPage

      public BbCloudPage(int pageLength, int page, int size, @Nullable String next, @NonNull List<T> values)
  • 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
    • getNext

      public String getNext()
    • isLastPage

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