Interface CommandExecutor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for a command executor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@NotNull User sender, @NotNull CommandContext context) Executes the command.
-
Method Details
-
execute
Executes the command.- Parameters:
sender- the User who initiated the commandcontext- the CommandContext associated with the command
-