Package io.vertx.mutiny.ext.shell.cli
Class Completion
- java.lang.Object
-
- io.vertx.mutiny.ext.shell.cli.Completion
-
public class Completion extends Object
The completion object NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Completion>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description Completion(io.vertx.ext.shell.cli.Completion delegate)Completion(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(String value, boolean terminal)voidcomplete(List<String> candidates)booleanequals(Object o)io.vertx.ext.shell.cli.CompletiongetDelegate()inthashCode()List<CliToken>lineTokens()static CompletionnewInstance(io.vertx.ext.shell.cli.Completion arg)StringrawLine()Sessionsession()StringtoString()Vertxvertx()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<Completion> __TYPE_ARG
-
-
Constructor Detail
-
Completion
public Completion(io.vertx.ext.shell.cli.Completion delegate)
-
Completion
public Completion(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.shell.cli.Completion getDelegate()
-
vertx
public Vertx vertx()
- Returns:
- the current Vert.x instance
-
session
public Session session()
- Returns:
- the shell current session, useful for accessing data like the current path for file completion, etc...
-
rawLine
public String rawLine()
- Returns:
- the current line being completed in raw format, i.e without any char escape performed
-
lineTokens
public List<CliToken> lineTokens()
- Returns:
- the current line being completed as preparsed tokens
-
complete
public void complete(String value, boolean terminal)
- Parameters:
value- the value to complete withterminal- true if the value is terminal, i.e can be further completed
-
newInstance
public static Completion newInstance(io.vertx.ext.shell.cli.Completion arg)
-
-