Package cloud.commandframework.execution
Class CommandExecutionHandler.NullCommandExecutionHandler<C>
java.lang.Object
cloud.commandframework.execution.CommandExecutionHandler.NullCommandExecutionHandler<C>
- Type Parameters:
C
- Command sender type
- All Implemented Interfaces:
CommandExecutionHandler<C>
- Enclosing interface:
- CommandExecutionHandler<C>
@API(status=INTERNAL,
consumers="cloud.commandframework.*")
public static class CommandExecutionHandler.NullCommandExecutionHandler<C>
extends Object
implements CommandExecutionHandler<C>
Command execution handler that does nothing
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.execution.CommandExecutionHandler
CommandExecutionHandler.FutureCommandExecutionHandler<C>, CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>, CommandExecutionHandler.NullCommandExecutionHandler<C>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(@NonNull CommandContext<C> commandContext) Handle command executionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cloud.commandframework.execution.CommandExecutionHandler
executeFuture
-
Constructor Details
-
NullCommandExecutionHandler
public NullCommandExecutionHandler()
-
-
Method Details
-
execute
Description copied from interface:CommandExecutionHandler
Handle command execution- Specified by:
execute
in interfaceCommandExecutionHandler<C>
- Parameters:
commandContext
- Command context
-