Uses of Interface
co.aikar.commands.contexts.ContextResolver
-
Uses of ContextResolver in co.aikar.commands
Modifier and TypeFieldDescriptionprotected final Map<Class<?>,
ContextResolver<?, R>> CommandContexts.contextMap
Modifier and TypeMethodDescriptionContextResolver<?,
R> CommandContexts.getResolver
(Class<?> type) CommandParameter.getResolver()
Modifier and TypeMethodDescription<T> void
CommandContexts.registerContext
(Class<T> context, ContextResolver<T, R> supplier) Registers a context that requires input from the command issuer to resolve.void
CommandParameter.setResolver
(ContextResolver<?, CEC> resolver) -
Uses of ContextResolver in co.aikar.commands.contexts
Modifier and TypeInterfaceDescriptioninterface
IssuerAwareContextResolver<T,
C extends CommandExecutionContext<?, ? extends CommandIssuer>> interface
IssuerOnlyContextResolver<T,
C extends CommandExecutionContext<?, ? extends CommandIssuer>> A context resolver that will never consume input, and only resolves using the context of the issuer of the commandinterface
OptionalContextResolver<T,
C extends CommandExecutionContext<?, ? extends CommandIssuer>> The same asContextResolver
, however it can accept a null context.interface
SenderAwareContextResolver<T,
C extends CommandExecutionContext<?, ? extends CommandIssuer>> Deprecated.
IssuerAwareContextResolver