| 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 |
|---|---|
List<String> |
UserCommandCompleter.getSuggestions(String arguments,
CommandLocals locals) |
boolean |
ActorAuthorizer.testPermission(CommandLocals locals,
String permission) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleDispatcher.call(String arguments,
CommandLocals locals,
String[] parentCommands) |
boolean |
CommandCallable.call(String arguments,
CommandLocals locals,
String[] parentCommands)
Execute the correct command based on the input.
|
List<String> |
SimpleDispatcher.getSuggestions(String arguments,
CommandLocals locals) |
List<String> |
NullCompleter.getSuggestions(String arguments,
CommandLocals locals) |
List<String> |
CommandCompleter.getSuggestions(String arguments,
CommandLocals locals)
Get a list of suggestions based on input.
|
boolean |
SimpleDispatcher.testPermission(CommandLocals locals) |
boolean |
CommandCallable.testPermission(CommandLocals locals)
Test whether this command can be executed with the given context.
|
| Constructor and Description |
|---|
CommandUsageBox(CommandCallable command,
String commandString,
CommandLocals locals)
Create a new usage box.
|
Copyright © 2010-2014. All Rights Reserved.