Package com.atlassian.bamboo.utils
Class PaginatedDataCollectorImpl
java.lang.Object
com.atlassian.bamboo.utils.PaginatedDataCollectorImpl
- All Implemented Interfaces:
PaginatedDataCollector
-
Constructor Summary
Constructors -
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:PaginatedDataCollectorFetch data from provider with limitation in request.- Specified by:
collectin interfacePaginatedDataCollector- Type Parameters:
T- return type- Parameters:
request- specified request with predicatesprovider-- Returns:
-