Package cloud.commandframework.execution
Class CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>
java.lang.Object
cloud.commandframework.execution.CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>
- Type Parameters:
C
- Command sender type
- All Implemented Interfaces:
CommandExecutionHandler<C>
,CommandExecutionHandler.FutureCommandExecutionHandler<C>
- Enclosing interface:
- CommandExecutionHandler<C>
@API(status=INTERNAL,
consumers="cloud.commandframework.*",
since="1.7.0")
public static final class CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>
extends Object
implements CommandExecutionHandler.FutureCommandExecutionHandler<C>
Delegates to other handlers.
- Since:
- 1.7.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.execution.CommandExecutionHandler
CommandExecutionHandler.FutureCommandExecutionHandler<C>, CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>, CommandExecutionHandler.NullCommandExecutionHandler<C>
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<@Nullable Void>
executeFuture
(@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.FutureCommandExecutionHandler
execute
-
Method Details
-
executeFuture
Description copied from interface:CommandExecutionHandler
Handle command execution- Specified by:
executeFuture
in interfaceCommandExecutionHandler<C>
- Specified by:
executeFuture
in interfaceCommandExecutionHandler.FutureCommandExecutionHandler<C>
- Parameters:
commandContext
- Command context- Returns:
- future that completes when the command has finished execution
-