| Package | Description |
|---|---|
| com.sk89q.intake | |
| com.sk89q.intake.argument | |
| com.sk89q.intake.completion | |
| com.sk89q.intake.dispatcher | |
| com.sk89q.intake.parametric | |
| com.sk89q.intake.parametric.handler |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidUsageException
Thrown when a command is not used properly.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommandCallable.call(String arguments,
Namespace namespace,
List<String> parentCommands)
Execute the command.
|
| Constructor and Description |
|---|
CommandContext(String args) |
CommandContext(String[] args) |
CommandContext(String[] args,
Set<Character> valueFlags) |
CommandContext(String[] args,
Set<Character> expectedValueFlags,
boolean allowHangingFlag,
Namespace namespace)
Parse the given array of arguments.
|
CommandContext(String args,
Set<Character> valueFlags) |
CommandContext(String args,
Set<Character> valueFlags,
boolean allowHangingFlag) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
NullCompleter.getSuggestions(String arguments,
Namespace locals) |
List<String> |
CommandCompleter.getSuggestions(String arguments,
Namespace locals)
Get a list of suggestions based on input.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleDispatcher.call(String arguments,
Namespace namespace,
List<String> parentCommands) |
List<String> |
SimpleDispatcher.getSuggestions(String arguments,
Namespace locals) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractParametricCallable.call(Object[] args)
Called with parsed arguments to execute the command.
|
boolean |
AbstractParametricCallable.call(String stringArguments,
Namespace namespace,
List<String> parentCommands) |
List<String> |
AbstractParametricCallable.getSuggestions(String arguments,
Namespace locals) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExceptionConverter.convert(Throwable t)
Attempt to convert the given throwable into a friendly
CommandException. |
void |
ExceptionConverterHelper.convert(Throwable t) |
void |
InvokeHandler.postInvoke(List<? extends Annotation> annotations,
ArgumentParser parser,
Object[] args,
CommandArgs commandArgs)
Called after the command has been executed.
|
void |
LegacyCommandsHandler.postInvoke(List<? extends Annotation> annotations,
ArgumentParser parser,
Object[] args,
CommandArgs commandArgs) |
boolean |
InvokeHandler.preInvoke(List<? extends Annotation> annotations,
ArgumentParser parser,
Object[] args,
CommandArgs commandArgs)
Called after arguments have been parsed but the command has yet
to be executed.
|
boolean |
LegacyCommandsHandler.preInvoke(List<? extends Annotation> annotations,
ArgumentParser parser,
Object[] args,
CommandArgs commandArgs) |
boolean |
InvokeHandler.preProcess(List<? extends Annotation> annotations,
ArgumentParser parser,
CommandArgs commandArgs)
Called before arguments have been parsed.
|
boolean |
LegacyCommandsHandler.preProcess(List<? extends Annotation> annotations,
ArgumentParser parser,
CommandArgs commandArgs) |
Copyright © 2015. All Rights Reserved.