| Package | Description |
|---|---|
| com.sk89q.worldedit.util.command | |
| com.sk89q.worldedit.util.command.fluent | |
| com.sk89q.worldedit.util.formatting.component |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Dispatcher
Executes a command based on user input.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleDispatcher
A simple implementation of
Dispatcher. |
| Modifier and Type | Method and Description |
|---|---|
CommandCallable |
CommandMapping.getCallable()
Get the callable
|
CommandCallable |
SimpleCommandMapping.getCallable() |
CommandCallable |
InvalidUsageException.getCommand()
Get the command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDispatcher.registerCommand(CommandCallable callable,
String... alias) |
void |
Dispatcher.registerCommand(CommandCallable callable,
String... alias)
Register a command with this dispatcher.
|
| Constructor and Description |
|---|
InvalidUsageException(CommandCallable command)
Create a new instance with no error message and with no suggestion
that full and complete help for the command should be shown.
|
InvalidUsageException(String message,
CommandCallable command)
Create a new instance with a message and with no suggestion
that full and complete help for the command should be shown.
|
InvalidUsageException(String message,
CommandCallable command,
boolean fullHelpSuggested)
Create a new instance with a message.
|
SimpleCommandMapping(CommandCallable callable,
String... alias)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DispatcherNode.register(CommandCallable callable,
String... alias)
Register a command with this dispatcher.
|
| Constructor and Description |
|---|
CommandUsageBox(CommandCallable command,
String commandString)
Create a new usage box.
|
CommandUsageBox(CommandCallable command,
String commandString,
CommandLocals locals)
Create a new usage box.
|
Copyright © 2010-2014. All Rights Reserved.