| Package | Description |
|---|---|
| com.sk89q.intake | |
| com.sk89q.intake.argument | |
| com.sk89q.intake.completion | |
| com.sk89q.intake.dispatcher | |
| com.sk89q.intake.parametric | |
| com.sk89q.intake.util.auth |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommandCallable.call(String arguments,
Namespace namespace,
List<String> parentCommands)
Execute the command.
|
boolean |
CommandCallable.testPermission(Namespace namespace)
Test whether the user is permitted to use the command.
|
| Modifier and Type | Method and Description |
|---|---|
Namespace |
CommandContext.getNamespace() |
Namespace |
CommandArgs.getNamespace()
Get the map of provided values.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandArgs |
Arguments.copyOf(List<String> arguments,
Map<Character,String> flags,
Namespace namespace)
Create an argument stack from a list of string arguments.
|
| Constructor and Description |
|---|
CommandContext(String[] args,
Set<Character> expectedValueFlags,
boolean allowHangingFlag,
Namespace namespace)
Parse the given array of arguments.
|
| 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) |
boolean |
SimpleDispatcher.testPermission(Namespace locals) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractParametricCallable.call(String stringArguments,
Namespace namespace,
List<String> parentCommands) |
List<String> |
AbstractParametricCallable.getSuggestions(String arguments,
Namespace locals) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Authorizer.testPermission(Namespace namespace,
String permission)
Tests whether permission is granted for the given context.
|
boolean |
NullAuthorizer.testPermission(Namespace namespace,
String permission) |
Copyright © 2015. All Rights Reserved.