Class MigrationPipelineRunner
Default IMigrationPipelineRunner implementation.
Implements
Namespace: Tableau.Migration.Engine.Pipelines
Assembly: Tableau.Migration.dll
Syntax
public class MigrationPipelineRunner : IMigrationPipelineRunner
Constructors
MigrationPipelineRunner(IMigrationHookRunner)
Creates a new MigrationPipelineRunner object.
Declaration
public MigrationPipelineRunner(IMigrationHookRunner hooks)
Parameters
Type | Name | Description |
---|---|---|
IMigrationHookRunner | hooks | The hook runner. |
Properties
CurrentAction
The current action being executed. Null if no action is current being performed.
Declaration
public IMigrationAction? CurrentAction { get; }
Property Value
Type | Description |
---|---|
IMigrationAction |
Methods
ExecuteAsync(IMigrationPipeline, CancellationToken)
Executes all pipeline actions.
Declaration
public Task<IResult> ExecuteAsync(IMigrationPipeline pipeline, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPipeline | pipeline | The pipeline to execute. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult> | An awaitable task for the overall pipeline execution result. |