Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Process> |
__TYPE_ARG |
Constructor and Description |
---|
Process(Object delegate) |
Process(Process delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
exitCode() |
Process |
getDelegate() |
Session |
getSession() |
Tty |
getTty() |
int |
hashCode() |
boolean |
interrupt()
Attempt to interrupt the process.
|
boolean |
interrupt(Handler<Void> completionHandler)
Attempt to interrupt the process.
|
static Process |
newInstance(Process arg) |
void |
resume()
Suspend the process.
|
void |
resume(boolean foreground)
Suspend the process.
|
void |
resume(boolean foreground,
Handler<Void> completionHandler)
Suspend the process.
|
void |
resume(Handler<Void> completionHandler)
Suspend the process.
|
void |
run()
Run the process.
|
void |
run(boolean foregraound)
Run the process.
|
Process |
setSession(Session session)
Set the process session
|
Process |
setTty(Tty tty)
Set the process tty.
|
ExecStatus |
status() |
void |
suspend()
Resume the process.
|
void |
suspend(Handler<Void> completionHandler)
Resume the process.
|
void |
terminate()
Terminate the process.
|
void |
terminate(Handler<Void> completionHandler)
Terminate the process.
|
Process |
terminatedHandler(Handler<Integer> handler)
Set an handler for being notified when the process terminates.
|
void |
toBackground()
Set the process in background.
|
void |
toBackground(Handler<Void> completionHandler)
Set the process in background.
|
void |
toForeground()
Set the process in foreground.
|
void |
toForeground(Handler<Void> completionHandler)
Set the process in foreground.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Process> __TYPE_ARG
public Process getDelegate()
public ExecStatus status()
public Integer exitCode()
null
public Process setTty(Tty tty)
tty
- the process ttypublic Tty getTty()
public Process setSession(Session session)
session
- the process sessionpublic Session getSession()
public Process terminatedHandler(Handler<Integer> handler)
handler
- the handler called when the process terminates.public void run()
public void run(boolean foregraound)
foregraound
- public boolean interrupt()
public boolean interrupt(Handler<Void> completionHandler)
completionHandler
- handler called after interrupt callbackpublic void resume()
public void resume(boolean foreground)
foreground
- public void resume(Handler<Void> completionHandler)
completionHandler
- handler called after resume callbackpublic void resume(boolean foreground, Handler<Void> completionHandler)
foreground
- completionHandler
- handler called after resume callbackpublic void suspend()
public void suspend(Handler<Void> completionHandler)
completionHandler
- handler called after suspend callbackpublic void terminate()
public void terminate(Handler<Void> completionHandler)
completionHandler
- handler called after end callbackpublic void toBackground()
public void toBackground(Handler<Void> completionHandler)
completionHandler
- handler called after background callbackpublic void toForeground()
public void toForeground(Handler<Void> completionHandler)
completionHandler
- handler called after foreground callbackCopyright © 2021 Eclipse. All rights reserved.