PipelineAction class abstract
A single deploy/notification step in a pipeline.
Actions receive a PipelineContext and return no value — results are written into the context's key-value bag via PipelineContext.put.
Constructors
Properties
- description → String
-
Optional description shown alongside name in pipeline summaries.
no setter
- duration ↔ Duration?
-
How long the action took to execute.
getter/setter pair
- error ↔ Object?
-
The error that caused the action to fail, if any.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRun → bool
-
Whether this action has been executed (i.e. status is non-null).
no setter
- name → String
-
Human-readable name; used as the log section header by
Pipeline.runAction.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace ↔ StackTrace?
-
The stack trace captured when the action failed, if any.
getter/setter pair
- status ↔ ActionStatus?
-
The execution status of this action, or
nullbefore it has run.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
PipelineContext context) → Future< void> -
Executes this action against
context. Results should be stored via PipelineContext.put. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited