Class BitbucketPage<T>
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketPage<T>
- Direct Known Subclasses:
BitbucketCloudPage
Bitbucket API pagination
-
Constructor Details
-
BitbucketPage
public BitbucketPage()
-
-
Method Details
-
getSize
public abstract int getSize()Page size- Returns:
- page size
-
getValues
List of values in this page- Returns:
- list of values
-
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
-