Class CLIPrefixedClassNameCompleter
java.lang.Object
org.jpos.q2.CLIPrefixedClassNameCompleter
- All Implemented Interfaces:
org.jline.reader.Completer
JLine3
Completer that provides tab-completion for class names with given prefixes.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Collection<org.jline.reader.Candidate> Pre-computed candidate list for tab completion. -
Constructor Summary
ConstructorsConstructorDescriptionCLIPrefixedClassNameCompleter(Collection<String> prefixes) Creates a completer that includes class names with the given prefixes. -
Method Summary
-
Field Details
-
candidates
Pre-computed candidate list for tab completion.
-
-
Constructor Details
-
CLIPrefixedClassNameCompleter
Creates a completer that includes class names with the given prefixes.- Parameters:
prefixes- the class name prefixes to include as candidates- Throws:
IOException- if class scanning fails
-
-
Method Details
-
complete
-
toString
-