-
- All Implemented Interfaces:
public final class OptionalArgumentNode<S extends Object, T extends Object, V extends Object> extends ArgumentNode<S, T, V>
-
-
Constructor Summary
Constructors Constructor Description OptionalArgumentNode(DslCommandTree<S, ?> parent, OptionalArgument<S, T, ?, V> argument, ContextRef<S> contextRef)
-
Method Summary
Modifier and Type Method Description final Function0<V>getGetter()Voidliteral(String literal, Function1<LiteralArgumentBuilder<S>, Unit> apply)Unitexecutes(Command<S> command)-
Methods inherited from class land.vani.mcorouhlin.command.dsl.OptionalArgumentNode
buildNode -
Methods inherited from class land.vani.mcorouhlin.command.dsl.ArgumentNode
apply, argument, buildTree, required, runs, subCommands -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
OptionalArgumentNode
OptionalArgumentNode(DslCommandTree<S, ?> parent, OptionalArgument<S, T, ?, V> argument, ContextRef<S> contextRef)
-
-
-
-