Package org.jline.builtins
Class Completers.TreeCompleter.Node
java.lang.Object
org.jline.builtins.Completers.TreeCompleter.Node
- Enclosing class:
Completers.TreeCompleter
Represents a node in the completion tree.
Each node has a completer for the current level and a list of child nodes for the next level in the command hierarchy.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CompleterThe completer for this node(package private) final List<Completers.TreeCompleter.Node> The list of child nodes -
Constructor Summary
ConstructorsConstructorDescriptionNode(Completer completer, List<Completers.TreeCompleter.Node> nodes) Creates a new Node with the specified completer and child nodes. -
Method Summary
-
Field Details
-
completer
The completer for this node -
nodes
The list of child nodes
-
-
Constructor Details
-
Node
Creates a new Node with the specified completer and child nodes.- Parameters:
completer- the completer for this nodenodes- the list of child nodes
-