Class BanPaginationActionImpl
java.lang.Object
net.dv8tion.jda.internal.requests.RestActionImpl<List<Guild.Ban>>
net.dv8tion.jda.internal.requests.restaction.pagination.PaginationActionImpl<Guild.Ban,BanPaginationAction>
net.dv8tion.jda.internal.requests.restaction.pagination.BanPaginationActionImpl
- All Implemented Interfaces:
Iterable<Guild.Ban>
,RestAction<@Unmodifiable List<Guild.Ban>>
,BanPaginationAction
,PaginationAction<Guild.Ban,
BanPaginationAction>
public class BanPaginationActionImpl
extends PaginationActionImpl<Guild.Ban,BanPaginationAction>
implements BanPaginationAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
PaginationAction.PaginationIterator<E>, PaginationAction.PaginationOrder
-
Field Summary
Fields inherited from class net.dv8tion.jda.internal.requests.RestActionImpl
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGuild()
The current targetGuild
for this BanPaginationAction.Configure thePaginationAction.PaginationOrder
of this pagination action.Methods inherited from class net.dv8tion.jda.internal.requests.restaction.pagination.PaginationActionImpl
cache, cacheSize, deadline, forEachAsync, forEachRemaining, forEachRemainingAsync, getCached, getFirst, getLast, getLastKey, getLimit, getMaxLimit, getMinLimit, getNextChunk, getOrder, isCacheEnabled, isEmpty, iterator, limit, setCheck, skipTo, takeAsync, takeRemainingAsync, timeout
Methods inherited from class net.dv8tion.jda.internal.requests.RestActionImpl
complete, getCheck, getDefaultFailure, getDefaultSuccess, getDefaultTimeout, getJDA, handleResponse, isPassContext, priority, queue, setDefaultFailure, setDefaultSuccess, setDefaultTimeout, setErrorMapper, setPassContext, submit
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.pagination.PaginationAction
cache, cacheSize, deadline, forEachAsync, forEachAsync, forEachRemaining, forEachRemainingAsync, forEachRemainingAsync, getCached, getFirst, getLast, getLastKey, getLimit, getMaxLimit, getMinLimit, getOrder, getSupportedOrders, isCacheEnabled, isEmpty, iterator, limit, parallelStream, reverse, setCheck, skipTo, spliterator, stream, takeAsync, takeRemainingAsync, takeUntilAsync, takeUntilAsync, takeWhileAsync, takeWhileAsync, timeout
Methods inherited from interface net.dv8tion.jda.api.requests.RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
Constructor Details
-
BanPaginationActionImpl
-
-
Method Details
-
order
Description copied from interface:PaginationAction
Configure thePaginationAction.PaginationOrder
of this pagination action.You can only supply supported orders, see
PaginationAction.getSupportedOrders()
.- Specified by:
order
in interfacePaginationAction<Guild.Ban,
BanPaginationAction> - Overrides:
order
in classPaginationActionImpl<Guild.Ban,
BanPaginationAction> - Parameters:
order
- The pagination order- Returns:
- The current PaginationAction implementation instance
- See Also:
-
getGuild
Description copied from interface:BanPaginationAction
The current targetGuild
for this BanPaginationAction.- Specified by:
getGuild
in interfaceBanPaginationAction
- Returns:
- The never-null target Guild
-