Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Completion> |
__TYPE_ARG |
Constructor and Description |
---|
Completion(Completion delegate) |
Completion(Object 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.
|
boolean |
equals(Object o) |
Completion |
getDelegate() |
int |
hashCode() |
List<CliToken> |
lineTokens() |
static Completion |
newInstance(Completion arg) |
String |
rawLine() |
Session |
session() |
String |
toString() |
Vertx |
vertx() |
public static final io.vertx.lang.rx.TypeArg<Completion> __TYPE_ARG
public Completion(Completion delegate)
public Completion(Object delegate)
public Completion 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 © 2021 Eclipse. All rights reserved.