public class JobStateChangeEvent
extends org.springframework.context.ApplicationEvent
| Constructor and Description |
|---|
JobStateChangeEvent(java.lang.String jobId,
JobStatus previousStatus,
JobStatus newStatus,
java.lang.Object source)
Constructor.
|
public JobStateChangeEvent(java.lang.String jobId,
@Nullable
JobStatus previousStatus,
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