Class CommandProcess
java.lang.Object
io.vertx.mutiny.ext.shell.term.Tty
io.vertx.mutiny.ext.shell.command.CommandProcess
- All Implemented Interfaces:
MutinyDelegate
The command process provides interaction with the process of the command provided by Vert.x Shell.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommandProcess(io.vertx.ext.shell.command.CommandProcess delegate) CommandProcess(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionargs()backgroundHandler(Runnable handler) voidend()voidend(int status) endHandler(Runnable handler) booleanforegroundHandler(Runnable handler) io.vertx.ext.shell.command.CommandProcessinthashCode()interruptHandler(Runnable handler) booleanstatic CommandProcessnewInstance(io.vertx.ext.shell.command.CommandProcess arg) resizehandler(Runnable handler) resumeHandler(Runnable handler) session()stdinHandler(Consumer<String> handler) suspendHandler(Runnable handler) toString()vertx()Methods inherited from class io.vertx.mutiny.ext.shell.term.Tty
height, newInstance, type, width
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
CommandProcess
public CommandProcess(io.vertx.ext.shell.command.CommandProcess delegate) -
CommandProcess
-
-
Method Details
-
getDelegate
public io.vertx.ext.shell.command.CommandProcess getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classTty- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
vertx
- Returns:
- the current Vert.x instance
-
argsTokens
- Returns:
- the unparsed arguments tokens
-
args
- Returns:
- the actual string arguments of the command
-
commandLine
- Returns:
- the command line object or null
-
session
- Returns:
- the shell session
-
isForeground
public boolean isForeground()- Returns:
- true if the command is running in foreground
-
stdinHandler
- Overrides:
stdinHandlerin classTty- Parameters:
handler- the standard input- Returns:
-
interruptHandler
- Parameters:
handler- the interrupt handler- Returns:
-
suspendHandler
- Parameters:
handler- the interrupt handler- Returns:
-
resumeHandler
- Parameters:
handler- the interrupt handler- Returns:
-
endHandler
- Parameters:
handler- the end handler- Returns:
-
write
-
backgroundHandler
- Parameters:
handler- the background handler- Returns:
-
foregroundHandler
- Parameters:
handler- the foreground handler- Returns:
-
resizehandler
- 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
-