PipelineStage class

Constructors

PipelineStage({required Input<List<PipelineStageAction>> actions, Input<PipelineStageBeforeEntry?>? beforeEntry, required Input<String> name, Input<PipelineStageOnFailure?>? onFailure, Input<PipelineStageOnSuccess?>? onSuccess})
Creates a new PipelineStage. actions The action(s) to include in the stage. Defined as an action block below beforeEntry The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met. name The name of the stage. onFailure The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage. onSuccess The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
const
PipelineStage.fromMap(Map<String, dynamic> map)
factory

Properties

actions → Input<List<PipelineStageAction>>
The action(s) to include in the stage. Defined as an action block below
final
beforeEntry → Input<PipelineStageBeforeEntry?>?
The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The name of the stage.
final
onFailure → Input<PipelineStageOnFailure?>?
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
final
onSuccess → Input<PipelineStageOnSuccess?>?
The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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