Interface Completion
-
Method Summary
Modifier and TypeMethodDescriptionvoidEnd the completion with a value that will be inserted to complete the line.voidEnd the completion with a list of candidates, these candidates will be displayed by the shell on the console.static StringfindLongestCommonPrefix(Collection<String> values) rawLine()session()vertx()
-
Method Details
-
findLongestCommonPrefix
-
vertx
Vertx vertx()- Returns:
- the current Vert.x instance
-
session
Session session()- Returns:
- the shell current session, useful for accessing data like the current path for file completion, etc...
-
rawLine
String rawLine()- Returns:
- the current line being completed in raw format, i.e without any char escape performed
-
lineTokens
-
complete
-
complete
End the completion with a value that will be inserted to complete the line.- Parameters:
value- the value to complete withterminal- true if the value is terminal, i.e can be further completed
-