Package cloud.commandframework.execution
Interface CommandExecutionHandler<C>
-
- Type Parameters:
C- Command sender type
- All Known Implementing Classes:
CommandExecutionHandler.NullCommandExecutionHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CommandExecutionHandler<C>Handler that is invoked whenever aCommandis executed by a command sender
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCommandExecutionHandler.NullCommandExecutionHandler<C>Command execution handler that does nothing
-
Method Summary
Modifier and Type Method Description voidexecute(@NonNull CommandContext<C> commandContext)Handle command execution
-
-
-
Method Detail
-
execute
void execute(@NonNull CommandContext<C> commandContext)
Handle command execution- Parameters:
commandContext- Command context
-
-