Uses of Interface
dev.sympho.modular_commands.api.command.handler.ResultHandler
Packages that use ResultHandler
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 ResultHandler in dev.sympho.modular_commands.api.command.handler
Methods in dev.sympho.modular_commands.api.command.handler that return types with arguments of type ResultHandlerModifier and TypeMethodDescriptionList<? extends ResultHandler<?>>Handlers.result()The handlers to use to handle the result (in the order given).List<? extends ResultHandler<? super InteractionCommandContext>>InteractionHandlers.Impl.result()Returns the value of theresultrecord component.List<? extends ResultHandler<? super InteractionCommandContext>>InteractionHandlers.result()List<? extends ResultHandler<? super MessageCommandContext>>MessageHandlers.Impl.result()Returns the value of theresultrecord component.List<? extends ResultHandler<? super MessageCommandContext>>MessageHandlers.result()List<? extends ResultHandler<? super SlashCommandContext>>SlashHandlers.Impl.result()Returns the value of theresultrecord component.List<? extends ResultHandler<? super SlashCommandContext>>SlashHandlers.result()List<? extends ResultHandler<CommandContext>>TextHandlers.Impl.result()Returns the value of theresultrecord component.List<? extends ResultHandler<CommandContext>>TextHandlers.result()Methods in dev.sympho.modular_commands.api.command.handler with parameters of type ResultHandlerModifier and TypeMethodDescriptionstatic 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 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 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 TextHandlersHandlers.text(InvocationHandler<CommandContext> invocation, ResultHandler<CommandContext>... result) Creates a handler set with the given handlers, with support for text-based commands.Method parameters in dev.sympho.modular_commands.api.command.handler with type arguments of type ResultHandlerModifier and TypeMethodDescriptionstatic 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, 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, 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, List<? extends ResultHandler<CommandContext>> result) Creates a handler set with the given handlers, with support for text-based commands.Constructor parameters in dev.sympho.modular_commands.api.command.handler with type arguments of type ResultHandlerModifierConstructorDescriptionImpl(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 ResultHandler in dev.sympho.modular_commands.execute
Fields in dev.sympho.modular_commands.execute declared as ResultHandlerModifier and TypeFieldDescriptionstatic final ResultHandler<CommandContext>BaseHandler.DEFAULTThe initial/default base handler.Methods in dev.sympho.modular_commands.execute that return ResultHandlerModifier and TypeMethodDescriptionstatic ResultHandler<CommandContext>BaseHandler.get()Retrieves the current base handler.Methods in dev.sympho.modular_commands.execute that return types with arguments of type ResultHandlerModifier and TypeMethodDescriptionprotected abstract List<? extends ResultHandler<? super CTX>>PipelineBuilder.getResultHandlers(H handlers) Retrieves the result handlers specified by the given hander set.Methods in dev.sympho.modular_commands.execute with parameters of type ResultHandlerModifier and TypeMethodDescriptionstatic voidBaseHandler.set(ResultHandler<CommandContext> handler) Sets the base handler. -
Uses of ResultHandler in dev.sympho.modular_commands.utils
Method parameters in dev.sympho.modular_commands.utils with type arguments of type ResultHandlerModifier and TypeMethodDescriptionstatic voidCommandUtils.validateResultHandlers(List<? extends ResultHandler<?>> handlers) Validates the result handlers of a command.