Class PaginationResult<T>
- java.lang.Object
-
- com.atlassian.bamboo.util.pagination.PaginationResult<T>
-
- Type Parameters:
T
- type of result
public class PaginationResult<T> extends Object
Wrapper for the result which contain requested data and information about next page for pagination
-
-
Constructor Summary
Constructors Constructor Description PaginationResult(List<T> result, int start, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
int
getNextStart()
List<T>
getResult()
int
getStart()
boolean
isHasNext()
void
setHasNext(boolean hasNext)
void
setNextStart(int nextStart)
-