TemplateHookLifecycleReport class

Aggregated report of running the lifecycle hook engine for a template target.

Constructors

TemplateHookLifecycleReport({required String templateId, required bool isSuccess, required bool isDryRun, required List<TemplateHookResult> results, required List<TemplateHookAction> aggregatedActions, required Duration totalDuration})
Creates a TemplateHookLifecycleReport.
const

Properties

aggregatedActions → List<TemplateHookAction>
Aggregated proposed actions from all executed hooks.
final
hashCode → int
The hash code for this object.
no setterinherited
isDryRun → bool
Flag indicating if execution was performed in dry-run mode.
final
isSuccess → bool
Overall success flag of the lifecycle execution.
final
results → List<TemplateHookResult>
Execution results per executed hook.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateId → String
Target template identifier.
final
totalDuration → Duration
Total duration of all hook executions.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes report to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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