Package com.atlassian.bamboo.utils
Class PaginatedDataCollectorImpl
java.lang.Object
com.atlassian.bamboo.utils.PaginatedDataCollectorImpl
- All Implemented Interfaces:
PaginatedDataCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> @NotNull PaginationResult<T>
collect
(PaginationRequest<T> request, @NotNull PaginatedDataProvider<T> provider) Fetch data from provider with limitation in request.
-
Constructor Details
-
PaginatedDataCollectorImpl
public PaginatedDataCollectorImpl()
-
-
Method Details
-
collect
@NotNull public <T> @NotNull PaginationResult<T> collect(PaginationRequest<T> request, @NotNull @NotNull PaginatedDataProvider<T> provider) Description copied from interface:PaginatedDataCollector
Fetch data from provider with limitation in request.- Specified by:
collect
in interfacePaginatedDataCollector
- Type Parameters:
T
- return type- Parameters:
request
- specified request with predicates- Returns:
-