| Package | Description |
|---|---|
| com.sk89q.intake | |
| com.sk89q.intake.completion | |
| com.sk89q.intake.context | |
| com.sk89q.intake.dispatcher | |
| com.sk89q.intake.parametric.handler | |
| com.sk89q.intake.util.auth |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommandCallable.call(String arguments,
CommandLocals locals,
String[] parentCommands)
Execute the correct command based on the input.
|
boolean |
CommandCallable.testPermission(CommandLocals locals)
Test whether this command can be executed with the given context.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
NullCompleter.getSuggestions(String arguments,
CommandLocals locals) |
List<String> |
CommandCompleter.getSuggestions(String arguments,
CommandLocals locals)
Get a list of suggestions based on input.
|
| Modifier and Type | Field and Description |
|---|---|
protected CommandLocals |
CommandContext.locals |
| Modifier and Type | Method and Description |
|---|---|
CommandLocals |
CommandContext.getLocals() |
| Constructor and Description |
|---|
CommandContext(String[] args,
Set<Character> valueFlags,
boolean allowHangingFlag,
CommandLocals locals)
Parse the given array of arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleDispatcher.call(String arguments,
CommandLocals locals,
String[] parentCommands) |
List<String> |
SimpleDispatcher.getSuggestions(String arguments,
CommandLocals locals) |
boolean |
SimpleDispatcher.testPermission(CommandLocals locals) |
| Modifier and Type | Method and Description |
|---|---|
void |
InvokeHandler.postInvoke(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called after the parameter is invoked.
|
void |
LegacyCommandsHandler.postInvoke(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context,
CommandLocals locals) |
boolean |
InvokeHandler.preInvoke(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called before the parameter is invoked.
|
boolean |
LegacyCommandsHandler.preInvoke(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context,
CommandLocals locals) |
boolean |
InvokeHandler.preProcess(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
CommandContext context,
CommandLocals locals)
Called before parameters are processed.
|
boolean |
LegacyCommandsHandler.preProcess(Object object,
Method method,
com.google.common.collect.ImmutableList<? extends ParameterData<?>> parameters,
CommandContext context,
CommandLocals locals) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Authorizer.testPermission(CommandLocals locals,
String permission)
Tests whether permission is granted for the given context.
|
boolean |
NullAuthorizer.testPermission(CommandLocals locals,
String permission) |
Copyright © 2015. All Rights Reserved.