Class BitbucketPage<T>
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.model.BitbucketPage<T>
-
- Type Parameters:
T
- the entity being paged
public class BitbucketPage<T> extends Object
Basic implementation of a page as returned by all paged resources in Bitbucket Server.
-
-
Constructor Summary
Constructors Constructor Description BitbucketPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
int
getNextPageStart()
int
getSize()
int
getStart()
List<T>
getValues()
boolean
isLastPage()
void
setLastPage(boolean lastPage)
void
setLimit(int limit)
void
setNextPageStart(int nextPageStart)
void
setSize(int size)
void
setStart(int start)
void
setValues(List<T> users)
<E> BitbucketPage<E>
transform(Function<? super T,? extends E> transformFunction)
-
-
-
Method Detail
-
getLimit
public int getLimit()
-
getNextPageStart
public int getNextPageStart()
-
setNextPageStart
public void setNextPageStart(int nextPageStart)
-
setLimit
public void setLimit(int limit)
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
getStart
public int getStart()
-
setStart
public void setStart(int start)
-
isLastPage
public boolean isLastPage()
-
setLastPage
public void setLastPage(boolean lastPage)
-
transform
public <E> BitbucketPage<E> transform(Function<? super T,? extends E> transformFunction)
-
-