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.CONTINUEAn 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 theinvocationrecord component.InteractionHandlers.invocation()InvocationHandler<? super MessageCommandContext>MessageHandlers.Impl.invocation()Returns the value of theinvocationrecord component.InvocationHandler<? super MessageCommandContext>MessageHandlers.invocation()InvocationHandler<? super SlashCommandContext>SlashHandlers.Impl.invocation()Returns the value of theinvocationrecord component.InvocationHandler<? super SlashCommandContext>SlashHandlers.invocation()TextHandlers.Impl.invocation()Returns the value of theinvocationrecord component.TextHandlers.invocation()Methods in dev.sympho.modular_commands.api.command.handler with parameters of type InvocationHandlerModifier and TypeMethodDescriptionstatic InteractionHandlersHandlers.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 InteractionHandlersHandlers.interaction(InvocationHandler<? super InteractionCommandContext> invocation, ResultHandler<? super InteractionCommandContext>... result) Creates a handler set with the given handlers, with support for interaction-based commands.static InteractionHandlersHandlers.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 MessageHandlersHandlers.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 MessageHandlersHandlers.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 MessageHandlersHandlers.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 SlashHandlersHandlers.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 SlashHandlersHandlers.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 SlashHandlersHandlers.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 TextHandlersHandlers.text(InvocationHandler<CommandContext> invocation) Creates a handler set with the given handlers, with support only for text-based commands, and no result handlers.static TextHandlersHandlers.text(InvocationHandler<CommandContext> invocation, ResultHandler<CommandContext>... result) Creates a handler set with the given handlers, with support for text-based commands.static TextHandlersHandlers.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 aImplrecord class.Impl(InvocationHandler<? super MessageCommandContext> invocation, List<? extends ResultHandler<? super MessageCommandContext>> result) Creates an instance of aImplrecord class.Impl(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates an instance of aImplrecord class.Impl(InvocationHandler<CommandContext> invocation, List<? extends ResultHandler<CommandContext>> result) Creates an instance of aImplrecord 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 voidCommandUtils.validateInvocationHandler(InvocationHandler<?> handler) Validates the invocation handler of a command.