public final class ReflectionAction<A extends CommandActor> extends java.lang.Object implements CommandAction<A>
| Constructor and Description |
|---|
ReflectionAction(CommandFunction function) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionContext<A> context)
Executes the given command, possibly throwing exceptions in cases
of errors.
|
public ReflectionAction(CommandFunction function)
public void execute(ExecutionContext<A> context)
CommandAction
Any exception thrown by this action will be handled by
Lamp.handleException(Throwable, ErrorContext).
execute in interface CommandAction<A extends CommandActor>context - The command execution context