Class CommandPathSearch<S extends Source>
java.lang.Object
studio.mevera.imperat.command.tree.CommandPathSearch<S>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines a setResult from dispatching the command execution. -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(ParameterNode<S, ?> node) copy()static <S extends Source>
CommandPathSearch<S>freshlyNew(Command<S> command) @Nullable CommandUsage<S>@NotNull CommandNode<S>@Nullable ParameterNode<S,?> static <S extends Source>
CommandPathSearch<S>of(CommandNode<S> root, CommandPathSearch.Result result) static <S extends Source>
CommandPathSearch<S>voidsetDirectUsage(CommandUsage<S> directUsage) voidsetResult(CommandPathSearch.Result result) static <S extends Source>
CommandPathSearch<S>unknown(CommandNode<S> root)
-
Method Details
-
of
public static <S extends Source> CommandPathSearch<S> of(CommandNode<S> root, CommandPathSearch.Result result) -
unknown
-
freshlyNew
-
paused
-
append
-
getLastNode
-
getFoundUsage
-
getResult
-
getClosestUsage
-
setResult
-
setDirectUsage
-
copy
-
getLastCommandNode
-