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 Details

    • PaginationResult

      public PaginationResult(List<T> result, int start, int limit)
  • Method Details

    • setNextStart

      public void setNextStart(int nextStart)
    • setHasNext

      public void setHasNext(boolean hasNext)
    • getResult

      public List<T> getResult()
    • getStart

      public int getStart()
    • getLimit

      public int getLimit()
    • getNextStart

      public int getNextStart()
    • isHasNext

      public boolean isHasNext()