Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<JobController> |
__TYPE_ARG |
Constructor and Description |
---|
JobController(JobController delegate) |
JobController(Object delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the shell session and terminate all the underlying jobs.
|
void |
close(Handler<Void> completionHandler)
Close the controller and terminate all the underlying jobs, a closed controller does not accept anymore jobs.
|
Job |
createJob(Process process,
String line)
Create a job wrapping a process.
|
boolean |
equals(Object o) |
Job |
foregroundJob() |
JobController |
getDelegate() |
Job |
getJob(int id)
Returns an active job in this session by its .
|
int |
hashCode() |
Set<Job> |
jobs() |
static JobController |
newInstance(JobController arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<JobController> __TYPE_ARG
public JobController(JobController delegate)
public JobController(Object delegate)
public JobController getDelegate()
public Job foregroundJob()
public Job getJob(int id)
id
- the job idpublic Job createJob(Process process, String line)
process
- the processline
- the linepublic void close(Handler<Void> completionHandler)
completionHandler
- public void close()
public static JobController newInstance(JobController arg)
Copyright © 2024 Eclipse. All rights reserved.