Class MigrationPlan
Default IMigrationPlan implementation.
Namespace: Tableau.Migration.Engine
Assembly: Tableau.Migration.dll
Syntax
public record MigrationPlan : IMigrationPlan, IEquatable<MigrationPlan>
Constructors
MigrationPlan(Guid, PipelineProfile, IMigrationPlanOptionsCollection, IMigrationPlanEndpointConfiguration, IMigrationPlanEndpointConfiguration, IMigrationHookFactoryCollection, IMigrationHookFactoryCollection, IMigrationHookFactoryCollection, IMigrationHookFactoryCollection, Func<IServiceProvider, IMigrationPipelineFactory>?)
Default IMigrationPlan implementation.
Declaration
public MigrationPlan(Guid PlanId, PipelineProfile PipelineProfile, IMigrationPlanOptionsCollection Options, IMigrationPlanEndpointConfiguration Source, IMigrationPlanEndpointConfiguration Destination, IMigrationHookFactoryCollection Hooks, IMigrationHookFactoryCollection Mappings, IMigrationHookFactoryCollection Filters, IMigrationHookFactoryCollection Transformers, Func<IServiceProvider, IMigrationPipelineFactory>? PipelineFactoryOverride)
Parameters
Type | Name | Description |
---|---|---|
Guid | PlanId | |
PipelineProfile | PipelineProfile | |
IMigrationPlanOptionsCollection | Options | |
IMigrationPlanEndpointConfiguration | Source | |
IMigrationPlanEndpointConfiguration | Destination | |
IMigrationHookFactoryCollection | Hooks | |
IMigrationHookFactoryCollection | Mappings | |
IMigrationHookFactoryCollection | Filters | |
IMigrationHookFactoryCollection | Transformers | |
Func<IServiceProvider, IMigrationPipelineFactory> | PipelineFactoryOverride |
Properties
Destination
Gets the defined destination endpoint configuration.
Declaration
public IMigrationPlanEndpointConfiguration Destination { get; init; }
Property Value
Type | Description |
---|---|
IMigrationPlanEndpointConfiguration |
Filters
Gets the collection of registered filters for each content type.
Declaration
public IMigrationHookFactoryCollection Filters { get; init; }
Property Value
Type | Description |
---|---|
IMigrationHookFactoryCollection |
Hooks
Gets the collection of registered hooks for each hook type.
Declaration
public IMigrationHookFactoryCollection Hooks { get; init; }
Property Value
Type | Description |
---|---|
IMigrationHookFactoryCollection |
Mappings
Gets the collection of registered mappings for each content type.
Declaration
public IMigrationHookFactoryCollection Mappings { get; init; }
Property Value
Type | Description |
---|---|
IMigrationHookFactoryCollection |
Options
Gets the per-plan options.
Declaration
public IMigrationPlanOptionsCollection Options { get; init; }
Property Value
Type | Description |
---|---|
IMigrationPlanOptionsCollection |
PipelineFactoryOverride
Gets the pipeline factory to use to create the pipeline during migration.
Declaration
public Func<IServiceProvider, IMigrationPipelineFactory>? PipelineFactoryOverride { get; init; }
Property Value
Type | Description |
---|---|
Func<IServiceProvider, IMigrationPipelineFactory> |
PipelineProfile
Gets the profile of the pipeline that will be built and executed.
Declaration
[EnumDataType(typeof(PipelineProfile))]
public PipelineProfile PipelineProfile { get; init; }
Property Value
Type | Description |
---|---|
PipelineProfile |
PlanId
Gets a unique identifier for the plan, generated at time of creation.
Declaration
public Guid PlanId { get; init; }
Property Value
Type | Description |
---|---|
Guid |
Source
Gets the defined source endpoint configuration.
Declaration
public IMigrationPlanEndpointConfiguration Source { get; init; }
Property Value
Type | Description |
---|---|
IMigrationPlanEndpointConfiguration |
Transformers
Gets the collection of registered transformers for each content type.
Declaration
public IMigrationHookFactoryCollection Transformers { get; init; }
Property Value
Type | Description |
---|---|
IMigrationHookFactoryCollection |