Package io.manebot.command.response
Class DefaultBasicCommandListResponse<T>
- java.lang.Object
-
- io.manebot.command.response.CommandResponse
-
- io.manebot.command.response.CommandListResponse<T>
-
- io.manebot.command.response.DefaultBasicCommandListResponse<T>
-
public class DefaultBasicCommandListResponse<T> extends CommandListResponse<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.manebot.command.response.CommandListResponse
CommandListResponse.Builder<T>, CommandListResponse.DefaultListElementFormatter<T>, CommandListResponse.ListAccessor<T>, CommandListResponse.ListElementFormatter<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultBasicCommandListResponse(ChatSender sender, long actualTotal, long page, int elementsPerPage, CommandListResponse.ListAccessor<T> accessor, CommandListResponse.ListElementFormatter<T> responder)
-
Method Summary
Modifier and Type Method Description java.util.Collection<ChatMessage>
send()
-
Methods inherited from class io.manebot.command.response.CommandListResponse
getAccessor, getElementsPerPage, getPage, getResponder, getTotalElements
-
Methods inherited from class io.manebot.command.response.CommandResponse
getSender
-
-
-
-
Constructor Detail
-
DefaultBasicCommandListResponse
public DefaultBasicCommandListResponse(ChatSender sender, long actualTotal, long page, int elementsPerPage, CommandListResponse.ListAccessor<T> accessor, CommandListResponse.ListElementFormatter<T> responder)
-
-
Method Detail
-
send
public java.util.Collection<ChatMessage> send() throws CommandExecutionException
- Specified by:
send
in classCommandResponse
- Throws:
CommandExecutionException
-
-