public interface Completion
Modifier and Type | Method and Description |
---|---|
void |
complete(List<String> candidates)
End the completion with a list of candidates, these candidates will be displayed by the shell on the console.
|
void |
complete(String value,
boolean terminal)
End the completion with a value that will be inserted to complete the line.
|
static String |
findLongestCommonPrefix(Collection<String> values) |
List<CliToken> |
lineTokens() |
String |
rawLine() |
Session |
session() |
Vertx |
vertx() |
static String findLongestCommonPrefix(Collection<String> values)
Vertx vertx()
Session session()
String rawLine()
List<CliToken> lineTokens()
void complete(List<String> candidates)
candidates
- the candidatesvoid complete(String value, boolean terminal)
value
- the value to complete withterminal
- true if the value is terminal, i.e can be further completedCopyright © 2024 Eclipse. All rights reserved.