Class CustomMigrationPipelineFactory<TPipeline>
IMigrationPipelineFactory implementation that can build a custom pipeline.
Implements
Inherited Members
Namespace: Tableau.Migration.Engine.Pipelines
Assembly: Tableau.Migration.dll
Syntax
public class CustomMigrationPipelineFactory<TPipeline> : MigrationPipelineFactory, IMigrationPipelineFactory where TPipeline : IMigrationPipeline
Type Parameters
Name | Description |
---|---|
TPipeline | The pipeline type to use. |
Constructors
CustomMigrationPipelineFactory(IServiceProvider)
Creates a new CustomMigrationPipelineFactory<TPipeline> object.
Declaration
public CustomMigrationPipelineFactory(IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | services | A service provider to create pipelines with. |
Methods
Create(IMigrationPlan)
Creates a pipeline for the given plan.
Declaration
public override IMigrationPipeline Create(IMigrationPlan plan)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPlan | plan | The plan to create the pipeline for. |
Returns
Type | Description |
---|---|
IMigrationPipeline | The created pipeline. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentException | If the plan's pipeline profile is not supported by the factory. |