| Modifier and Type | Class and Description |
|---|---|
class |
CommandPermissionsException
Thrown when not enough permissions are satisfied.
|
class |
CommandUsageException |
class |
MissingNestedCommandException |
class |
UnhandledCommandException |
class |
WrappedCommandException |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CommandsManager.checkPermission(T player,
Method method) |
void |
CommandsManager.execute(String[] args,
T player,
Object... methodArgs)
Attempt to execute a command.
|
void |
CommandsManager.execute(String cmd,
String[] args,
T player,
Object... methodArgs)
Attempt to execute a command.
|
void |
CommandsManager.executeMethod(Method parent,
String[] args,
T player,
Object[] methodArgs,
int level)
Attempt to execute a command.
|
protected String |
CommandsManager.getNestedUsage(String[] args,
int level,
Method method,
T player)
Get the usage string for a nested command.
|
void |
CommandsManager.invokeMethod(Method parent,
String[] args,
T player,
Method method,
Object instance,
Object[] methodArgs,
int level) |
| 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 |
|---|---|
void |
UtilityCommands.calc(Actor actor,
String input) |
void |
SelectionCommands.distr(Player player,
LocalSession session,
EditSession editSession,
CommandContext args) |
void |
UtilityCommands.remove(Actor actor,
CommandContext args) |
void |
SchematicCommands.save(Player player,
LocalSession session,
String formatName,
String filename)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityRemover.fromString(String str) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorldEditExceptionConverter.convert(DisallowedItemException e) |
void |
WorldEditExceptionConverter.convert(EmptyClipboardException e) |
void |
WorldEditExceptionConverter.convert(ExpressionException e) |
void |
WorldEditExceptionConverter.convert(FilenameResolutionException e) |
void |
WorldEditExceptionConverter.convert(FileSelectionAbortedException e) |
void |
WorldEditExceptionConverter.convert(IncompleteRegionException e) |
void |
WorldEditExceptionConverter.convert(InsufficientArgumentsException e) |
void |
WorldEditExceptionConverter.convert(InvalidFilenameException e) |
void |
WorldEditExceptionConverter.convert(InvalidItemException e) |
void |
WorldEditExceptionConverter.convert(InvalidToolBindException e) |
void |
WorldEditExceptionConverter.convert(MaxBrushRadiusException e) |
void |
WorldEditExceptionConverter.convert(MaxChangedBlocksException e) |
void |
WorldEditExceptionConverter.convert(MaxRadiusException e) |
void |
WorldEditExceptionConverter.convert(NumberFormatException e) |
void |
WorldEditExceptionConverter.convert(RegionOperationException e) |
void |
WorldEditExceptionConverter.convert(UnknownDirectionException e) |
void |
WorldEditExceptionConverter.convert(UnknownItemException e) |
void |
WorldEditExceptionConverter.convert(WorldEditException e) |
List<String> |
UserCommandCompleter.getSuggestions(String arguments,
CommandLocals locals) |
void |
CommandLoggingHandler.postInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context) |
void |
CommandLoggingHandler.preInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context) |
void |
CommandLoggingHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidUsageException
Thrown when a command is not used properly.
|
| 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.
|
| 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. |
void |
ExceptionConverter.convert(Throwable t)
Attempt to convert the given throwable into a
CommandException. |
void |
ExceptionConverterHelper.convert(Throwable t) |
void |
InvokeHandler.postInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context)
Called after the parameter is invoked.
|
void |
InvokeHandler.preInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context)
Called before the parameter is invoked.
|
void |
InvokeHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context)
Called before parameters are processed.
|
void |
LegacyCommandsHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context) |
Copyright © 2010-2014. All Rights Reserved.