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 theoriginalnon 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 voidclose()JobcreateJob(String line)JobcreateJob(List<CliToken> line)booleanequals(Object o)io.vertx.ext.shell.ShellgetDelegate()inthashCode()JobControllerjobController()static ShellnewInstance(io.vertx.ext.shell.Shell arg)Sessionsession()voidsetPrompt(Function<Session,String> prompt)StringtoString()
-
-
-
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)
-
-