The job controller.
Constructor and description |
---|
JobController
(java.lang.Object delegate) |
Type | Name and description |
---|---|
void |
close(io.vertx.core.Handler<java.lang.Void> completionHandler) Close the controller and terminate all the underlying jobs, a closed controller does not accept anymore jobs. |
void |
close() Close the shell session and terminate all the underlying jobs. |
Job |
createJob(Process process, java.lang.String line) Create a job wrapping a process. |
Job |
foregroundJob() @return
|
java.lang.Object |
getDelegate() |
Job |
getJob(int id) Returns an active job in this session by its . |
java.util.Set<Job> |
jobs() @return
|
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() |
Close the controller and terminate all the underlying jobs, a closed controller does not accept anymore jobs.
Close the shell session and terminate all the underlying jobs.
Create a job wrapping a process.
process
- the processline
- the line
Returns an active job in this session by its .
id
- the job id