Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Shell> |
__TYPE_ARG |
Constructor and Description |
---|
Shell(Object delegate) |
Shell(Shell delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the shell.
|
Job |
createJob(List<CliToken> line)
Create a job, the created job should then be executed with the
Job.run() method. |
Job |
createJob(String line)
|
boolean |
equals(Object o) |
Shell |
getDelegate() |
int |
hashCode() |
JobController |
jobController() |
static Shell |
newInstance(Shell arg) |
Session |
session() |
void |
setPrompt(java.util.function.Function<Session,String> prompt)
Set a new prompt in this session.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Shell> __TYPE_ARG
public Shell getDelegate()
public Job createJob(List<CliToken> line)
Job.run()
method.line
- the command line creating this jobpublic JobController jobController()
public Session session()
public void setPrompt(java.util.function.Function<Session,String> prompt)
prompt
- the new prompt will be calculated when it's needed.public void close()
Copyright © 2024 Eclipse. All rights reserved.