Interface PaginationContext.Builder
- Enclosing interface:
- PaginationContext
public static interface PaginationContext.Builder
Build
PaginationContext instances- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create the immutablePaginationContextinstanceitemOffset<wbr>(long itemOffset)Specify the offset of the first item to appear in the pagelimit<wbr>(long limit)Specify the maximum number of items in the pagepageOffset<wbr>(long pageOffset)
-
Method Details
-
build
PaginationContext build()Create the immutablePaginationContextinstance- Returns:
PaginationContextinstance
-
itemOffset
Specify the offset of the first item to appear in the page- Parameters:
itemOffset- The item offset- Returns:
- self
-
limit
Specify the maximum number of items in the page- Parameters:
limit- The maximum number of items- Returns:
- self
-
pageOffset
-