Class JobStateChangeEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.netflix.genie.web.events.JobStateChangeEvent
All Implemented Interfaces:
Serializable

public class JobStateChangeEvent extends org.springframework.context.ApplicationEvent
Event representing a job status change.
Since:
4.0.0
See Also:
  • Constructor Details

    • JobStateChangeEvent

      public JobStateChangeEvent(String jobId, @Nullable com.netflix.genie.common.internal.dtos.JobStatus previousStatus, com.netflix.genie.common.internal.dtos.JobStatus newStatus, Object source)
      Constructor.
      Parameters:
      jobId - the job id
      previousStatus - the previous status, or null if the job was just created
      newStatus - the status the job just transitioned to
      source - the event source