public class JobFinishedEvent extends BaseJobEvent
Constructor and Description |
---|
JobFinishedEvent(@NotEmpty java.lang.String id,
@NotNull JobFinishedReason reason,
@NotEmpty @Size(max=255,min=1) java.lang.String message,
@NotNull java.lang.Object source)
Constructor.
|
public JobFinishedEvent(@NotEmpty @NotEmpty java.lang.String id, @NotNull @NotNull JobFinishedReason reason, @NotEmpty @Size(max=255,min=1) @NotEmpty @Size(max=255,min=1) java.lang.String message, @NotNull @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.