Package dev.sympho.bot_utils
Interface PaginationManager.PageGenerator
- Enclosing class:
- PaginationManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that generates the contents of a page.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongeneratePage
(@org.checkerframework.checker.index.qual.NonNegative int index, String args) Generates a page.
-
Method Details
-
generatePage
Mono<PaginationManager.PageData> generatePage(@org.checkerframework.checker.index.qual.NonNegative int index, String args) Generates a page.- Parameters:
index
- The page index.args
- The page arguments.- Returns:
- The generated page.
-