| Constructor and Description |
|---|
Completion(Completion delegate) |
| 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.
|
Object |
getDelegate() |
List<CliToken> |
lineTokens() |
static Completion |
newInstance(Completion arg) |
String |
rawLine() |
Session |
session() |
Vertx |
vertx() |
public Completion(Completion delegate)
public Object getDelegate()
public Vertx vertx()
public Session session()
public String rawLine()
public List<CliToken> lineTokens()
public void complete(List<String> candidates)
candidates - the candidatespublic void complete(String value, boolean terminal)
value - the value to complete withterminal - true if the value is terminal, i.e can be further completedpublic static Completion newInstance(Completion arg)
Copyright © 2015. All rights reserved.