A process managed by the shell.
Constructor and description |
---|
Process
(java.lang.Object delegate) |
Type | Name and description |
---|---|
java.lang.Integer |
exitCode() @return
|
java.lang.Object |
getDelegate() |
Session |
getSession() @return
|
Tty |
getTty() @return
|
boolean |
interrupt() Attempt to interrupt the process. |
boolean |
interrupt(io.vertx.core.Handler<java.lang.Void> completionHandler) Attempt to interrupt the process. |
void |
resume() Suspend the process. |
void |
resume(boolean foreground) Suspend the process. |
void |
resume(io.vertx.core.Handler<java.lang.Void> completionHandler) Suspend the process. |
void |
resume(boolean foreground, io.vertx.core.Handler<java.lang.Void> completionHandler) Suspend the process. |
void |
run() Run the process. |
void |
run(boolean foreground) Run the process. |
void |
run(io.vertx.core.Handler<java.lang.Void> completionHandler) Run the process. |
void |
run(boolean foregraound, io.vertx.core.Handler<java.lang.Void> completionHandler) Run the process. |
Process |
setSession(Session session) Set the process session |
Process |
setTty(Tty tty) Set the process tty. |
ExecStatus |
status() @return
|
void |
suspend() Resume the process. |
void |
suspend(io.vertx.core.Handler<java.lang.Void> completionHandler) Resume the process. |
void |
terminate() Terminate the process. |
void |
terminate(io.vertx.core.Handler<java.lang.Void> completionHandler) Terminate the process. |
Process |
terminatedHandler(io.vertx.core.Handler<java.lang.Integer> handler) Set an handler for being notified when the process terminates. |
void |
toBackground() Set the process in background. |
void |
toBackground(io.vertx.core.Handler<java.lang.Void> completionHandler) Set the process in background. |
void |
toForeground() Set the process in foreground. |
void |
toForeground(io.vertx.core.Handler<java.lang.Void> completionHandler) Set the process in foreground. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
null
Attempt to interrupt the process.
Attempt to interrupt the process.
completionHandler
- handler called after interrupt callbackSuspend the process.
Suspend the process.
Suspend the process.
completionHandler
- handler called after resume callbackSuspend the process.
completionHandler
- handler called after resume callbackRun the process.
Run the process.
Run the process.
completionHandler
- handler called after process callbackRun the process.
completionHandler
- handler called after process callbackSet the process session
session
- the process session
Resume the process.
Resume the process.
completionHandler
- handler called after suspend callbackTerminate the process.
Terminate the process.
completionHandler
- handler called after end callbackSet an handler for being notified when the process terminates.
handler
- the handler called when the process terminates.Set the process in background.
Set the process in background.
completionHandler
- handler called after background callbackSet the process in foreground.
Set the process in foreground.
completionHandler
- handler called after foreground callback