| Modifier and Type | Class and Description |
|---|---|
class |
InvalidUsageException
Thrown when a command is not used properly.
|
class |
InvocationCommandException
Thrown when invocation of a command fails, wrapping the exception that
is thrown.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommandCallable.call(String arguments,
CommandLocals locals,
String[] parentCommands)
Execute the correct command based on the input.
|
| 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.
|
| Constructor and Description |
|---|
CommandContext(String args) |
CommandContext(String[] args) |
CommandContext(String[] args,
Set<Character> valueFlags) |
CommandContext(String[] args,
Set<Character> valueFlags,
boolean allowHangingFlag,
CommandLocals locals)
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 |
|---|---|
boolean |
SimpleDispatcher.call(String arguments,
CommandLocals locals,
String[] parentCommands) |
List<String> |
SimpleDispatcher.getSuggestions(String arguments,
CommandLocals locals) |
| Modifier and Type | Method and Description |
|---|---|
Object |
BindingHelper.bind(ParameterData parameter,
ArgumentStack scoped,
boolean onlyConsume) |
Object |
Binding.bind(ParameterData parameter,
ArgumentStack scoped,
boolean onlyConsume)
Attempt to consume values (if required) from the given
ArgumentStack
in order to instantiate an object for the given parameter. |
| 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(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called after the parameter is invoked.
|
boolean |
InvokeHandler.preInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called before the parameter is invoked.
|
boolean |
InvokeHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context,
CommandLocals locals)
Called before parameters are processed.
|
boolean |
LegacyCommandsHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context,
CommandLocals locals) |
Copyright © 2015. All Rights Reserved.