Class CommandProcess
- java.lang.Object
 - 
- io.vertx.mutiny.ext.shell.term.Tty
 - 
- io.vertx.mutiny.ext.shell.command.CommandProcess
 
 
 
- 
public class CommandProcess extends Tty
The command process provides interaction with the process of the command provided by Vert.x 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<CommandProcess>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description CommandProcess(io.vertx.ext.shell.command.CommandProcess delegate)CommandProcess(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>args()List<CliToken>argsTokens()CommandProcessbackgroundHandler(Runnable handler)CommandLinecommandLine()voidend()voidend(int status)CommandProcessendHandler(Runnable handler)booleanequals(Object o)CommandProcessforegroundHandler(Runnable handler)io.vertx.ext.shell.command.CommandProcessgetDelegate()inthashCode()CommandProcessinterruptHandler(Runnable handler)booleanisForeground()static CommandProcessnewInstance(io.vertx.ext.shell.command.CommandProcess arg)CommandProcessresizehandler(Runnable handler)CommandProcessresumeHandler(Runnable handler)Sessionsession()CommandProcessstdinHandler(Consumer<String> handler)CommandProcesssuspendHandler(Runnable handler)StringtoString()Vertxvertx()CommandProcesswrite(String data)- 
Methods inherited from class io.vertx.mutiny.ext.shell.term.Tty
height, newInstance, type, width 
 - 
 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<CommandProcess> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
CommandProcess
public CommandProcess(io.vertx.ext.shell.command.CommandProcess delegate)
 
- 
CommandProcess
public CommandProcess(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.shell.command.CommandProcess getDelegate()
- Overrides:
 getDelegatein classTty
 
- 
vertx
public Vertx vertx()
- Returns:
 - the current Vert.x instance
 
 
- 
commandLine
public CommandLine commandLine()
- Returns:
 - the command line object or null
 
 
- 
session
public Session session()
- Returns:
 - the shell session
 
 
- 
isForeground
public boolean isForeground()
- Returns:
 - true if the command is running in foreground
 
 
- 
stdinHandler
public CommandProcess stdinHandler(Consumer<String> handler)
- Overrides:
 stdinHandlerin classTty- Parameters:
 handler- the standard input- Returns:
 
 
- 
interruptHandler
public CommandProcess interruptHandler(Runnable handler)
- Parameters:
 handler- the interrupt handler- Returns:
 
 
- 
suspendHandler
public CommandProcess suspendHandler(Runnable handler)
- Parameters:
 handler- the interrupt handler- Returns:
 
 
- 
resumeHandler
public CommandProcess resumeHandler(Runnable handler)
- Parameters:
 handler- the interrupt handler- Returns:
 
 
- 
endHandler
public CommandProcess endHandler(Runnable handler)
- Parameters:
 handler- the end handler- Returns:
 
 
- 
write
public CommandProcess write(String data)
 
- 
backgroundHandler
public CommandProcess backgroundHandler(Runnable handler)
- Parameters:
 handler- the background handler- Returns:
 
 
- 
foregroundHandler
public CommandProcess foregroundHandler(Runnable handler)
- Parameters:
 handler- the foreground handler- Returns:
 
 
- 
resizehandler
public CommandProcess resizehandler(Runnable handler)
- Overrides:
 resizehandlerin classTty- Parameters:
 handler- the resize handler- Returns:
 
 
- 
end
public void end()
 
- 
end
public void end(int status)
- Parameters:
 status- the exit status.
 
- 
newInstance
public static CommandProcess newInstance(io.vertx.ext.shell.command.CommandProcess arg)
 
 - 
 
 -