Class DependencyFailureEvent

java.lang.Object
ai.redouble.nucleo.events.AbstractJobEvent
ai.redouble.nucleo.events.DependencyFailureEvent
All Implemented Interfaces:
FailureEvent, LifecycleEvent, TerminalEvent, JobEvent, Serializable

public final class DependencyFailureEvent extends AbstractJobEvent implements FailureEvent
Event published when a job fails because a job it depended on failed, before it ran. Its message names the error's class and message, or Unknown without an error; a FailureEvent outside AbstractTerminalEvent, so it carries the interface defaults: no responses, no metadata, timing from the snapshot.
Since:
0.1 (2025-09-22)
Author:
Andrey Santrosyan
See Also:
  • Constructor Details

  • Method Details

    • getError

      public Throwable getError()
      Description copied from interface: FailureEvent
      Gets the error that caused the failure.
      Specified by:
      getError in interface FailureEvent
      Returns:
      the error, may be null