Interface CommandExecutor<S>
- Type Parameters:
S- sender type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Executes a command action built by the command builder API.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandExecution<S> execution) Executes the command with the given execution context.
-
Method Details
-
execute
Executes the command with the given execution context.- Parameters:
execution- execution context- Returns:
- command result
-