Uses of Interface
dev.sympho.modular_commands.api.permission.AccessValidator
Packages that use AccessValidator
Package
Description
Interfaces that represent the invocation context of a command.
Runtime system for executing commands defined through the API.
Implementations for command contexts.
-
Uses of AccessValidator in dev.sympho.modular_commands.api.command.context
Subinterfaces of AccessValidator in dev.sympho.modular_commands.api.command.contextModifier and TypeInterfaceDescriptioninterfaceThe execution context of an invoked command.interfaceThe execution context of an command invoked through an interaction (application command).interfaceThe execution context of an command invoked through a message.interfaceThe execution context of an command invoked through a slash command. -
Uses of AccessValidator in dev.sympho.modular_commands.execute
Subinterfaces of AccessValidator in dev.sympho.modular_commands.executeModifier and TypeInterfaceDescriptioninterfaceA command context that is instrumented for use with metrics and tracing tooling.interfaceA command context whose values (particularly arguments) are lazy-loaded (that is, are not loaded until requested byLazyContext.initialize(ObservationRegistry)andLazyContext.load()).Methods in dev.sympho.modular_commands.execute that return AccessValidatorModifier and TypeMethodDescriptionprotected AccessValidatorPipelineBuilder.accessValidator(E event) Creates an access validator for the context of the given event.Creates an access validator under the context of the given guild, channel, and caller.Methods in dev.sympho.modular_commands.execute with parameters of type AccessValidatorModifier and TypeMethodDescriptionInvocationValidator.validateAccess(AccessValidator validator, List<? extends Command<?>> chain) Validates that the user that invoked a command has sufficient access to do so. -
Uses of AccessValidator in dev.sympho.modular_commands.impl.context
Classes in dev.sympho.modular_commands.impl.context that implement AccessValidatorModifier and TypeClassDescriptionfinal classContext object for invocations performed through text messages.Constructors in dev.sympho.modular_commands.impl.context with parameters of type AccessValidatorModifierConstructorDescriptionMessageContextImpl(MessageCreateEvent event, Invocation invocation, Command<?> command, StringSplitter.Async.Iterator args, AccessValidator access) Initializes a new context.