Table of Contents

Class RuntimeOrchestrator

Namespace
Cress.Execution
Assembly
Cress.Execution.dll
public sealed class RuntimeOrchestrator
Inheritance
RuntimeOrchestrator
Inherited Members

Constructors

RuntimeOrchestrator(ProjectCatalogService, PlanGenerator, ConfigLoader, PluginHost, ReportGenerator, IEnumerable<IRuntimeDriver>)

public RuntimeOrchestrator(ProjectCatalogService catalogService, PlanGenerator planGenerator, ConfigLoader configLoader, PluginHost pluginHost, ReportGenerator reportGenerator, IEnumerable<IRuntimeDriver> drivers)

Parameters

catalogService ProjectCatalogService
planGenerator PlanGenerator
configLoader ConfigLoader
pluginHost PluginHost
reportGenerator ReportGenerator
drivers IEnumerable<IRuntimeDriver>

Methods

ExecuteAsync(string, RunOptions, IProgress<RuntimeProgressUpdate>?, CancellationToken)

public Task<RunResult> ExecuteAsync(string startDirectory, RunOptions options, IProgress<RuntimeProgressUpdate>? progress, CancellationToken cancellationToken = default)

Parameters

startDirectory string
options RunOptions
progress IProgress<RuntimeProgressUpdate>
cancellationToken CancellationToken

Returns

Task<RunResult>

ExecuteAsync(string, RunOptions, CancellationToken)

public Task<RunResult> ExecuteAsync(string startDirectory, RunOptions options, CancellationToken cancellationToken = default)

Parameters

startDirectory string
options RunOptions
cancellationToken CancellationToken

Returns

Task<RunResult>