public class JobFinishedEvent extends BaseJobEvent
Constructor and Description |
---|
JobFinishedEvent(java.lang.String id,
JobFinishedReason reason,
java.lang.String message,
java.lang.Object source)
Constructor.
|
public JobFinishedEvent(@NotEmpty java.lang.String id, @NotNull JobFinishedReason reason, @NotEmpty @Size(max=255,min=1) java.lang.String message, @NotNull java.lang.Object source)
id
- The id of the job that just finishedreason
- The reason this job has finishedmessage
- Any message for why the job completed which should be savedsource
- The source which created the event.