Table of Contents

Class WorkflowDefinition

Namespace
Invex.Atom.Workflows.Definition
Assembly
Invex.Atom.Workflows.dll

Represents the definition of a workflow, including its name, triggers, options, targets, and types.

public sealed record WorkflowDefinition
Inheritance
object
WorkflowDefinition

Constructors

WorkflowDefinition(string)

Represents the definition of a workflow, including its name, triggers, options, targets, and types.

public WorkflowDefinition(string Name)

Parameters

Name string

The name of the workflow.

Properties

Name

The name of the workflow.

public string Name { get; init; }

Property Value

string

Options

Gets the collection of options or parameters that can be configured for the workflow.

public IReadOnlyList<IBuildOption> Options { get; init; }

Property Value

IReadOnlyList<IBuildOption>

Targets

Gets the collection of targets that define the sequence of tasks to be executed by the workflow.

public IReadOnlyList<WorkflowTargetDefinition> Targets { get; init; }

Property Value

IReadOnlyList<WorkflowTargetDefinition>

Triggers

Gets the collection of triggers that define when and how the workflow is initiated.

public IReadOnlyList<IWorkflowTrigger> Triggers { get; init; }

Property Value

IReadOnlyList<IWorkflowTrigger>

Types

Gets the collection of workflow types that this definition applies to (e.g., GitHub Actions, Azure DevOps).

public IReadOnlyList<IWorkflowType> Types { get; init; }

Property Value

IReadOnlyList<IWorkflowType>