Interface CommandTreeNode.NodeFactory
- Enclosing interface:
- CommandTreeNode<T extends CommandTreeNode<T>>
public static interface CommandTreeNode.NodeFactory
Factory to create a root node.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a literalCommandTreeNode
Creates a rootCommandTreeNode
.
-
Method Details
-
createRoot
CommandTreeNode<CommandTreeNode.Root> createRoot()Creates a rootCommandTreeNode
.- Returns:
- The node
-
createLiteral
CommandTreeNode<CommandTreeNode.Basic> createLiteral()Creates a literalCommandTreeNode
- Returns:
- The node
-