Package io.vertx.mutiny.ext.shell
Class Shell
- java.lang.Object
-
- io.vertx.mutiny.ext.shell.Shell
-
public class Shell extends Object
An interactive session between a consumer and a shell. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Shell>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Job
createJob(String line)
Job
createJob(List<CliToken> line)
boolean
equals(Object o)
io.vertx.ext.shell.Shell
getDelegate()
int
hashCode()
JobController
jobController()
static Shell
newInstance(io.vertx.ext.shell.Shell arg)
Session
session()
void
setPrompt(Function<Session,String> prompt)
String
toString()
-
-
-
Constructor Detail
-
Shell
public Shell(io.vertx.ext.shell.Shell delegate)
-
Shell
public Shell(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.shell.Shell getDelegate()
-
createJob
public Job createJob(List<CliToken> line)
- Parameters:
line
- the command line creating this job- Returns:
- the created job
-
jobController
public JobController jobController()
- Returns:
- the shell's job controller
-
session
public Session session()
- Returns:
- the current shell session
-
setPrompt
public void setPrompt(Function<Session,String> prompt)
- Parameters:
prompt
- the new prompt will be calculated when it's needed.
-
close
public void close()
-
newInstance
public static Shell newInstance(io.vertx.ext.shell.Shell arg)
-
-