Skip to content
Docs Try Aspire
Docs Try

PipelineStep

Handle
📦 Aspire.Hosting v13.4.0
interface PipelineStep {
readonly dependsOnSteps: List<string>;
readonly description: string;
readonly name: string;
readonly requiredBySteps: List<string>;
readonly tags: List<string>;
addTag(tag: string): void;
dependsOn(stepName: string): void;
requiredBy(stepName: string): void;
}

Properties

property dependsOnSteps List<string> get
Gets or initializes the list of step names that this step depends on.
property description string get
Gets or initializes the description of the step.
property name string get
Gets or initializes the unique name of the step.
property requiredBySteps List<string> get
Gets or initializes the list of step names that require this step to complete before they can finish. This is used internally during pipeline construction and is converted to DependsOn relationships.
property tags List<string> get
Gets or initializes the list of tags that categorize this step.

Methods

method addTag
Adds a tag to the step.
addTag(tag: string): void
tag string
Adds a dependency on another step.
dependsOn(stepName: string): void
stepName string
Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
requiredBy(stepName: string): void
stepName string