Package com.atlassian.bamboo.utils
Class PaginatedDataCollectorImpl
- java.lang.Object
-
- com.atlassian.bamboo.utils.PaginatedDataCollectorImpl
-
- All Implemented Interfaces:
PaginatedDataCollector
public class PaginatedDataCollectorImpl extends Object implements PaginatedDataCollector
-
-
Constructor Summary
Constructors Constructor Description PaginatedDataCollectorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> @NotNull PaginationResult<T>
collect(PaginationRequest<T> request, @NotNull PaginatedDataProvider<T> provider)
Fetch data from provider with limitation in request.
-
-
-
Method Detail
-
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:
-
-