Interface JobController
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the shell session and terminate all the underlying jobs.voidClose the controller and terminate all the underlying jobs, a closed controller does not accept anymore jobs.Create a job wrapping a process.getJob(int id) Returns an active job in this session by its id.jobs()
-
Method Details
-
foregroundJob
Job foregroundJob()- Returns:
- the current foreground job
-
jobs
-
getJob
Returns an active job in this session by its id.- Parameters:
id- the job id- Returns:
- the job of null when not found
-
createJob
-
close
-
close
void close()Close the shell session and terminate all the underlying jobs.
-