public class JobStateChangeEvent
extends org.springframework.context.ApplicationEvent
| Constructor and Description |
|---|
JobStateChangeEvent(java.lang.String jobId,
com.netflix.genie.common.external.dtos.v4.JobStatus previousStatus,
com.netflix.genie.common.external.dtos.v4.JobStatus newStatus,
java.lang.Object source)
Constructor.
|
public JobStateChangeEvent(java.lang.String jobId,
@Nullable
com.netflix.genie.common.external.dtos.v4.JobStatus previousStatus,
com.netflix.genie.common.external.dtos.v4.JobStatus newStatus,
java.lang.Object source)
jobId - the job idpreviousStatus - the previous status, or null if the job was just creatednewStatus - the status the job just transitioned tosource - the event source