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.

    @FunctionalInterface
    public interface JobListener
    Listener for job status changes.
    Since:
    4.0
    • 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 changed
        previous - the previous status
        current - the new status