| Package | Description |
|---|---|
| co.aikar.commands | |
| co.aikar.commands.contexts |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<?>,ContextResolver<?,R>> |
CommandContexts.contextMap |
| Modifier and Type | Method and Description |
|---|---|
ContextResolver<?,R> |
CommandContexts.getResolver(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
CommandContexts.registerContext(Class<T> context,
ContextResolver<T,R> supplier)
Registers a context that requires input from the command issuer to resolve.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
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 command
|
interface |
OptionalContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>
Context Resolver that can accept null input
|
interface |
SenderAwareContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>
Deprecated.
Please use
IssuerAwareContextResolver |
Copyright © 2017. All rights reserved.