Package org.jppf.job

Class JobNotification

All Implemented Interfaces:
Serializable

public class JobNotification extends Notification
Instances of this class represent events emitted by a JPPFJobManager.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JobNotification

      public JobNotification(String driverUuid, JobEventType eventType, JobInformation jobInfo, JPPFManagementInfo nodeInfo, long timestamp)
      Initialize this event with the specified job and node information.
      Parameters:
      driverUuid - the type of this job event.
      eventType - the type of this job event.
      jobInfo - information about the job.
      nodeInfo - information about the node.
      timestamp - the creation timestamp for this event.
  • Method Details

    • getJobInformation

      public JobInformation getJobInformation()
      Get the information about the job.
      Returns:
      a JobInformation instance.
    • getNodeInfo

      public JPPFManagementInfo getNodeInfo()
      Get the information about the node.
      Returns:
      a JPPFManagementInfo instance.
    • getEventType

      public JobEventType getEventType()
      Get the type of this job event.
      Returns:
      a JobEventType enum value.
    • getDriverUuid

      public String getDriverUuid()
      Get the uuid of the driver that sent this notification.
      Returns:
      the driver uuid as a string.
    • toString

      public String toString()
      Overrides:
      toString in class Notification