Class JobStatusEvent

java.lang.Object
java.util.EventObject
org.jppf.client.event.JobStatusEvent
All Implemented Interfaces:
Serializable

public class JobStatusEvent extends EventObject
Instances of this class represent a status change notification for a jppf job.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JobStatusEvent

      public JobStatusEvent(String jobUuid, JobStatus status)
      Initialize this event with the specified job uuid and status.
      Parameters:
      jobUuid - the uuid of the job whose status has changed.
      status - the new status of the job.
  • Method Details

    • getStatus

      public JobStatus getStatus()
      The status of the job.
      Returns:
      a SubmissionStatus typesafe enum value.
    • getJobUuid

      public String getJobUuid()
      Get the id of the job.
      Returns:
      the job id as a string.