FailureHook class abstract
@deprecated Extend ArtifactHook instead.
Backward-compatible base class for failure hooks. Delegates to ArtifactPublisher under the hood.
Constructors
Properties
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