A - The actor type@FunctionalInterface
public interface CommandAction<A extends CommandActor>
CommandNode.| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionContext<A> context)
Executes the given command, possibly throwing exceptions in cases
of errors.
|
void execute(ExecutionContext<A> context)
Any exception thrown by this action will be handled by
Lamp.handleException(Throwable, ErrorContext).
context - The command execution context