The completion object
Constructor and description |
---|
Completion
(java.lang.Object delegate) |
Type | Name and description |
---|---|
void |
complete(java.util.List<java.lang.String> candidates) End the completion with a list of candidates, these candidates will be displayed by the shell on the console. |
void |
complete(java.lang.String value, boolean terminal) End the completion with a value that will be inserted to complete the line. |
java.lang.Object |
getDelegate() |
java.util.List<CliToken> |
lineTokens() @return
|
java.lang.String |
rawLine() @return
|
Session |
session()
|
Vertx |
vertx() @return
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
End the completion with a list of candidates, these candidates will be displayed by the shell on the console.
candidates
- the candidatesEnd the completion with a value that will be inserted to complete the line.
value
- the value to complete withterminal
- true if the value is terminal, i.e can be further completed