Uses of Interface
dev.sympho.modular_commands.api.command.handler.Handlers
Packages that use Handlers
Package
Description
APIs related to defining a command.
Handler interfaces used across the system.
Registry system for registering commands that can be executed.
Runtime system for executing commands defined through the API.
Internal implementation-specific classes.
Default implementations for registries.
Collection of classes that provide assorted utilies for ease of use.
Builders for various types.
-
Uses of Handlers in dev.sympho.modular_commands.api.command
Classes in dev.sympho.modular_commands.api.command with type parameters of type Handlers -
Uses of Handlers in dev.sympho.modular_commands.api.command.handler
Subinterfaces of Handlers in dev.sympho.modular_commands.api.command.handlerModifier and TypeInterfaceDescriptioninterfaceA set of handlers that support interaction-based invocations.interfaceA set of handlers that support message-based invocations.interfaceA set of handlers that support slash-based invocations.interfaceA set of handlers that support text-based (message and slash) invocations.Classes in dev.sympho.modular_commands.api.command.handler that implement HandlersModifier and TypeClassDescriptionstatic final recordA record-based implementation.static final recordA record-based implementation.static final recordA record-based implementation.static final recordA record-based implementation. -
Uses of Handlers in dev.sympho.modular_commands.api.registry
Methods in dev.sympho.modular_commands.api.registry with type parameters of type HandlersModifier and TypeMethodDescriptionRegistry.findCommand(Invocation invocation, Class<H> type) Retrieves the best command known to this registry that has the given parent and name, and is compatible with the given type.<H extends Handlers>
Collection<Command<? extends H>>Registry.getCommands(Class<H> type) Retrieves all commands known to this registry that are compatible with the given type. -
Uses of Handlers in dev.sympho.modular_commands.execute
Classes in dev.sympho.modular_commands.execute with type parameters of type HandlersModifier and TypeClassDescriptionclassPipelineBuilder<E extends Event,CTX extends CommandContext & LazyContext, H extends Handlers, I extends SmartIterator<String>> Type responsible for building a command processing pipeline.Methods in dev.sympho.modular_commands.execute with type parameters of type HandlersModifier and TypeMethodDescriptionstatic <H extends Handlers,C extends CommandContext>
List<InvocationHandler<? super C>>InvocationUtils.accumulateHandlers(List<? extends Command<? extends H>> chain, Function<H, InvocationHandler<? super C>> getter) Determines the sequence of invocation handlers to execute.Determines if a command has handlers compatible with the given type.static <H extends Handlers>
Tuple2<Invocation,List<Command<? extends H>>> InvocationUtils.parseInvocation(Registry registry, SmartIterator<String> args, Class<H> commandType) Extracts an invocation from a sequence of args by performing lookups on the given registry, while building the corresponding execution chain. -
Uses of Handlers in dev.sympho.modular_commands.impl
Classes in dev.sympho.modular_commands.impl with type parameters of type HandlersModifier and TypeClassDescriptionfinal recordCommandImpl<H extends Handlers>Default implementation of an interaction-based command. -
Uses of Handlers in dev.sympho.modular_commands.impl.registry
Methods in dev.sympho.modular_commands.impl.registry with type parameters of type HandlersModifier and TypeMethodDescriptionSimpleRegistry.findCommand(Invocation invocation, Class<H> type) <H extends Handlers>
Collection<Command<? extends H>>SimpleRegistry.getCommands(Class<H> type) -
Uses of Handlers in dev.sympho.modular_commands.utils
Methods in dev.sympho.modular_commands.utils with type parameters of type HandlersModifier and TypeMethodDescriptionstatic <H extends Handlers>
HCommandUtils.validateHandlers(H handlers) Validates the handlers of a command. -
Uses of Handlers in dev.sympho.modular_commands.utils.builder
Classes in dev.sympho.modular_commands.utils.builder with type parameters of type HandlersModifier and TypeClassDescriptionfinal classCommandBuilder<H extends Handlers>Builder for commands.Fields in dev.sympho.modular_commands.utils.builder declared as HandlersModifier and TypeFieldDescriptionprotected @MonotonicNonNull HCommandBuilder.handlersThe handlers to process invocations with.Methods in dev.sympho.modular_commands.utils.builder with type parameters of type HandlersModifier and TypeMethodDescriptionstatic <H extends Handlers>
CommandBuilder<H>Constructs a new builder that is initialized to make a copy of the given command.