-
- All Implemented Interfaces:
public class DslCommandTree<S extends Object, A extends ArgumentBuilder<S, A>>
-
-
Method Summary
Modifier and Type Method Description Unitexecutes(Command<S> command)final Unitruns(Function1<ExecutionContext<S>, Unit> command)final Unitapply(Function1<A, Unit> apply)final Unitrequired(Function1<S, Boolean> condition)LiteralNode<S>literal(String literal, Function1<LiteralArgumentBuilder<S>, Unit> apply)<T extends Any, V extends Any> ArgumentNode<S, T, V>argument(CommandArgument<S, T, V> argument, Function1<RequiredArgumentBuilder<S, T>, Unit> apply)UnitsubCommands(Command<S> commands)abstract AbuildNode()final AbuildTree()
-