Interface LifecycleEvent
- All Superinterfaces:
JobEvent
- All Known Subinterfaces:
FailureEvent, SuccessEvent, TerminalEvent
- All Known Implementing Classes:
AbstractTerminalEvent, DependencyFailureEvent, JobCancelled, JobCompletedEvent, JobFailedEvent, JobScheduled, JobStartedEvent, JobTimedOut, OrchestratorIdleEvent, OrchestratorResumedEvent
public sealed interface LifecycleEvent
extends JobEvent
permits JobScheduled, JobStartedEvent, TerminalEvent, OrchestratorResumedEvent, OrchestratorIdleEvent
Sealed marker for events fired exclusively by the platform (job dispatcher).
User code cannot create custom lifecycle events. All implementations are final or sealed within this hierarchy. This guarantees that observability infrastructure (persistence, metrics, tracing) sees only well-defined state transitions.
- Since:
- 0.1 (2026-04-08)
- Author:
- Andrey Santrosyan
-
Method Summary