Class SchedulerEvent
java.lang.Object
ai.redouble.nucleo.events.SchedulerEvent
- All Implemented Interfaces:
SystemEvent, JobEvent, Serializable
System-level event for scheduler state changes: started, stopping, stopped, or an error
carrying its cause. Each type has a default message a caller may replace; an error event's
message names the error's own message, or "Unknown" without one. Not tied to any job, so it
answers a null snapshot and reaches global and by-type subscriptions for all jobs, never a
job-type-scoped or a workflow-scoped one.
- Since:
- 0.1 (2025-10-14)
- Author:
- Andrey Santrosyan
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates a scheduler event with default message.SchedulerEvent(SchedulerEvent.Type type, String message) Creates a scheduler event with custom message.SchedulerEvent(SchedulerEvent.Type type, String message, Throwable error) Full constructor.SchedulerEvent(Throwable error) Creates a scheduler error event. -
Method Summary
-
Constructor Details
-
SchedulerEvent
Creates a scheduler event with default message. -
SchedulerEvent
Creates a scheduler event with custom message. -
SchedulerEvent
Creates a scheduler error event. -
SchedulerEvent
Full constructor.
-
-
Method Details