public interface JobController
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.
|
Job |
foregroundJob() |
Job |
getJob(int id)
Returns an active job in this session by its id.
|
Set<Job> |
jobs() |
Job foregroundJob()
Job getJob(int id)
id
- the job idJob createJob(Process process, String line)
process
- the processline
- the linevoid close(Handler<Void> completionHandler)
void close()
Copyright © 2023 Eclipse. All rights reserved.