Interface CommandTreeNode.NodeFactory
-
- Enclosing interface:
- CommandTreeNode<T extends CommandTreeNode<T>>
public static interface CommandTreeNode.NodeFactory
Factory to create a root node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandTreeNode<CommandTreeNode.Basic>
createLiteral()
Creates a literalCommandTreeNode
CommandTreeNode<CommandTreeNode.Root>
createRoot()
Creates a rootCommandTreeNode
.
-
-
-
Method Detail
-
createRoot
CommandTreeNode<CommandTreeNode.Root> createRoot()
Creates a rootCommandTreeNode
.- Returns:
- The node
-
createLiteral
CommandTreeNode<CommandTreeNode.Basic> createLiteral()
Creates a literalCommandTreeNode
- Returns:
- The node
-
-