Class BitbucketPage<T>

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketPage<T>
Direct Known Subclasses:
BitbucketCloudPage

public abstract class BitbucketPage<T> extends Object
Bitbucket API pagination
  • Constructor Details

    • BitbucketPage

      public BitbucketPage()
  • Method Details

    • getSize

      public abstract int getSize()
      Page size
      Returns:
      page size
    • getValues

      public abstract List<T> getValues()
      List of values in this page
      Returns:
      list of values
    • getNext

      public abstract String getNext()
      URL to the next page
      Returns:
      next page url
    • isLastPage

      public abstract boolean isLastPage()
      Boolean to tell if this is last page
      Returns:
      If true then last page, otherwise
    • getPageLength

      public abstract int getPageLength()
      Number of pages
      Returns:
      number of pages
    • getPage

      public abstract int getPage()
      Page number
      Returns:
      page number