Package org.jline.shell
Interface JobListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener for job status changes.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonChange(Job job, Job.Status previous, Job.Status current) Called when a job's status changes.
-
Method Details
-
onChange
Called when a job's status changes.- Parameters:
job- the job whose status changedprevious- the previous statuscurrent- the new status
-