Package io.manebot.command.response
Class CommandListResponse<T>
- java.lang.Object
- 
- io.manebot.command.response.CommandResponse
- 
- io.manebot.command.response.CommandListResponse<T>
 
 
- 
- Direct Known Subclasses:
- DefaultBasicCommandListResponse,- DefaultRichCommandListResponse
 
 public abstract class CommandListResponse<T> extends CommandResponse 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCommandListResponse.Builder<T>static classCommandListResponse.DefaultListElementFormatter<T>static interfaceCommandListResponse.ListAccessor<T>static interfaceCommandListResponse.ListElementFormatter<T>
 - 
Constructor SummaryConstructors Constructor Description CommandListResponse(ChatSender sender, long actualTotal, long page, int elementsPerPage, CommandListResponse.ListAccessor<T> accessor, CommandListResponse.ListElementFormatter<T> responder)
 - 
Method SummaryModifier and Type Method Description CommandListResponse.ListAccessor<T>getAccessor()intgetElementsPerPage()longgetPage()CommandListResponse.ListElementFormatter<T>getResponder()longgetTotalElements()- 
Methods inherited from class io.manebot.command.response.CommandResponsegetSender, send
 
- 
 
- 
- 
- 
Constructor Detail- 
CommandListResponsepublic CommandListResponse(ChatSender sender, long actualTotal, long page, int elementsPerPage, CommandListResponse.ListAccessor<T> accessor, CommandListResponse.ListElementFormatter<T> responder) 
 
- 
 - 
Method Detail- 
getPagepublic long getPage() 
 - 
getTotalElementspublic long getTotalElements() 
 - 
getElementsPerPagepublic int getElementsPerPage() 
 - 
getAccessorpublic CommandListResponse.ListAccessor<T> getAccessor() 
 - 
getResponderpublic CommandListResponse.ListElementFormatter<T> getResponder() 
 
- 
 
-