Package org.jppf.client.event
Class JobStatusEvent
java.lang.Object
java.util.EventObject
org.jppf.client.event.JobStatusEvent
- All Implemented Interfaces:
Serializable
Instances of this class represent a status change notification for a jppf job.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionJobStatusEvent(String jobUuid, JobStatus status) Initialize this event with the specified job uuid and status. -
Method Summary
Modifier and TypeMethodDescriptionGet the id of the job.The status of the job.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
JobStatusEvent
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
The status of the job.- Returns:
- a
SubmissionStatustypesafe enum value.
-
getJobUuid
Get the id of the job.- Returns:
- the job id as a string.
-