FailureHook class abstract

@deprecated Extend ArtifactHook instead.

Backward-compatible base class for failure hooks. Delegates to ArtifactPublisher under the hood.

Constructors

FailureHook()

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for this hook.
no setter
priority → int
Priority order for execution (lower runs first).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFailure(FailureContext context) → Future<void>
The hook's execution logic.
shouldTrigger(FailureContext context) → bool
Whether this hook should be triggered for the given context.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited