Uses of Interface
dev.sympho.modular_commands.api.command.handler.InvocationHandler
Packages that use InvocationHandler
Package
Description
Handler interfaces used across the system.
Runtime system for executing commands defined through the API.
Collection of classes that provide assorted utilies for ease of use.
-
Uses of InvocationHandler in dev.sympho.modular_commands.api.command.handler
Fields in dev.sympho.modular_commands.api.command.handler declared as InvocationHandlerModifier and TypeFieldDescriptionstatic final InvocationHandler<CommandContext>
Handlers.CONTINUE
An invocation handler that simply signals that handling should continue.Methods in dev.sympho.modular_commands.api.command.handler that return InvocationHandlerModifier and TypeMethodDescriptionHandlers.invocation()
The handler to use for executing the invocation.InteractionHandlers.Impl.invocation()
Returns the value of theinvocation
record component.InteractionHandlers.invocation()
InvocationHandler<? super MessageCommandContext>
MessageHandlers.Impl.invocation()
Returns the value of theinvocation
record component.InvocationHandler<? super MessageCommandContext>
MessageHandlers.invocation()
InvocationHandler<? super SlashCommandContext>
SlashHandlers.Impl.invocation()
Returns the value of theinvocation
record component.InvocationHandler<? super SlashCommandContext>
SlashHandlers.invocation()
TextHandlers.Impl.invocation()
Returns the value of theinvocation
record component.TextHandlers.invocation()
Methods in dev.sympho.modular_commands.api.command.handler with parameters of type InvocationHandlerModifier and TypeMethodDescriptionstatic InteractionHandlers
Handlers.interaction
(InvocationHandler<? super InteractionCommandContext> invocation) Creates a handler set with the given handlers, with support only for interaction-based commands, and no result handlers.static InteractionHandlers
Handlers.interaction
(InvocationHandler<? super InteractionCommandContext> invocation, ResultHandler<? super InteractionCommandContext>... result) Creates a handler set with the given handlers, with support for interaction-based commands.static InteractionHandlers
Handlers.interaction
(InvocationHandler<? super InteractionCommandContext> invocation, List<? extends ResultHandler<? super InteractionCommandContext>> result) Creates a handler set with the given handlers, with support for interaction-based commands.static MessageHandlers
Handlers.message
(InvocationHandler<? super MessageCommandContext> invocation) Creates a handler set with the given handlers, with support only for message-based commands, and no result handlers.static MessageHandlers
Handlers.message
(InvocationHandler<? super MessageCommandContext> invocation, ResultHandler<? super MessageCommandContext>... result) Creates a handler set with the given handlers, with support only for message-based commands.static MessageHandlers
Handlers.message
(InvocationHandler<? super MessageCommandContext> invocation, List<? extends ResultHandler<? super MessageCommandContext>> result) Creates a handler set with the given handlers, with support only for message-based commands.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation) Creates a handler set with the given handlers, with support only for slash-based commands, and no result handlers.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation, ResultHandler<? super SlashCommandContext>... result) Creates a handler set with the given handlers, with support only for slash-based commands.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates a handler set with the given handlers, with support only for slash-based commands.static TextHandlers
Handlers.text
(InvocationHandler<CommandContext> invocation) Creates a handler set with the given handlers, with support only for text-based commands, and no result handlers.static TextHandlers
Handlers.text
(InvocationHandler<CommandContext> invocation, ResultHandler<CommandContext>... result) Creates a handler set with the given handlers, with support for text-based commands.static TextHandlers
Handlers.text
(InvocationHandler<CommandContext> invocation, List<? extends ResultHandler<CommandContext>> result) Creates a handler set with the given handlers, with support for text-based commands.Constructors in dev.sympho.modular_commands.api.command.handler with parameters of type InvocationHandlerModifierConstructorDescriptionImpl
(InvocationHandler<? super InteractionCommandContext> invocation, List<? extends ResultHandler<? super InteractionCommandContext>> result) Creates an instance of aImpl
record class.Impl
(InvocationHandler<? super MessageCommandContext> invocation, List<? extends ResultHandler<? super MessageCommandContext>> result) Creates an instance of aImpl
record class.Impl
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates an instance of aImpl
record class.Impl
(InvocationHandler<CommandContext> invocation, List<? extends ResultHandler<CommandContext>> result) Creates an instance of aImpl
record class. -
Uses of InvocationHandler in dev.sympho.modular_commands.execute
Methods in dev.sympho.modular_commands.execute that return InvocationHandlerModifier and TypeMethodDescriptionprotected abstract InvocationHandler<? super CTX>
PipelineBuilder.getInvocationHandler
(H handlers) Retrieves the invocation handler specified by the given hander set. -
Uses of InvocationHandler in dev.sympho.modular_commands.utils
Methods in dev.sympho.modular_commands.utils with parameters of type InvocationHandlerModifier and TypeMethodDescriptionstatic void
CommandUtils.validateInvocationHandler
(InvocationHandler<?> handler) Validates the invocation handler of a command.