-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface JobListenerListener for job status changes.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChange(Job job, Job.Status previous, Job.Status current)Called when a job's status changes.
-
-
-
Method Detail
-
onChange
void onChange(Job job, Job.Status previous, Job.Status current)
Called when a job's status changes.- Parameters:
job- the job whose status changedprevious- the previous statuscurrent- the new status
-
-