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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@NonNull CommandContext<C> commandContext) Handle command executionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cloud.commandframework.execution.CommandExecutionHandler
executeFuture
-
Constructor Details
-
NullCommandExecutionHandler
public NullCommandExecutionHandler()
-
-
Method Details
-
execute
Description copied from interface:CommandExecutionHandlerHandle command execution- Specified by:
executein interfaceCommandExecutionHandler<C>- Parameters:
commandContext- Command context
-