Class PaginationResult<T>
java.lang.Object
com.atlassian.bamboo.util.pagination.PaginationResult<T>
- Type Parameters:
T
- type of result
Wrapper for the result which contain requested data and information about next page for pagination
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getLimit()
int
int
getStart()
boolean
void
setHasNext
(boolean hasNext) void
setNextStart
(int nextStart)
-
Constructor Details
-
PaginationResult
-
-
Method Details
-
setNextStart
public void setNextStart(int nextStart) -
setHasNext
public void setHasNext(boolean hasNext) -
getResult
-
getStart
public int getStart() -
getLimit
public int getLimit() -
getNextStart
public int getNextStart() -
isHasNext
public boolean isHasNext()
-