Class CommandExecutionCoordinator<S>
java.lang.Object
io.github.mqzn.commands.base.manager.CommandExecutionCoordinator<S>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncommand()
abstract <C> CompletableFuture<CommandExecutionCoordinator.ExecutionResult>
coordinateExecution
(C sender, @NotNull CommandSyntax<S> syntax, @NotNull CommandContext<S> context) static <S> CommandExecutionCoordinator<S>
fromType
(@NotNull Command<S> manager, CommandExecutionCoordinator.Type type) abstract CommandExecutionCoordinator.Type
type()
-
Field Details
-
command
-
-
Method Details
-
fromType
public static <S> CommandExecutionCoordinator<S> fromType(@NotNull @NotNull Command<S> manager, CommandExecutionCoordinator.Type type) -
command
-
type
-
coordinateExecution
public abstract <C> CompletableFuture<CommandExecutionCoordinator.ExecutionResult> coordinateExecution(@NotNull C sender, @NotNull @NotNull CommandSyntax<S> syntax, @NotNull @NotNull CommandContext<S> context)
-