Class JobMonitoringEvent

java.lang.Object
java.util.EventObject
org.jppf.client.monitoring.jobs.JobMonitoringEvent
All Implemented Interfaces:
Serializable

public class JobMonitoringEvent extends EventObject
This class represents an event emitteed by a JobMonitor.
Since:
5.1
Author:
Laurent Cohen
See Also:
  • Method Details

    • getJobMonitor

      public JobMonitor getJobMonitor()
      Get the job monitor which emitted this event.
      Returns:
      a JobMonitor instance.
    • getJobDriver

      public JobDriver getJobDriver()
      Get the job driver from which this event originates.
      Returns:
      a JobDriver instance.
    • getJob

      public Job getJob()
      Get the related job, if any.
      Returns:
      a Job instance, or null if this event does not relate to a job.
    • getJobDispatch

      public JobDispatch getJobDispatch()
      Get the related job dispatch, if any.
      Returns:
      a JobDispatch instance, or null if this event does not relate to a job dispatch.
    • toString

      public String toString()
      Overrides:
      toString in class EventObject