Interface IMigrationEndpointFactory
Interface for an object that can create IMigrationEndpoints from a migration plan.
Namespace: Tableau.Migration.Engine.Endpoints
Assembly: Tableau.Migration.dll
Syntax
public interface IMigrationEndpointFactory
Methods
CreateDestination(IMigrationPlan)
Creates the destination endpoint for the given migration plan.
Declaration
IDestinationEndpoint CreateDestination(IMigrationPlan plan)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPlan | plan | The migration plan to configure the endpoint for. |
Returns
Type | Description |
---|---|
IDestinationEndpoint | The created destination endpoint. |
Exceptions
Type | Condition |
---|---|
ArgumentException | If the source endpoint type is not supported by the factory. |
CreateSource(IMigrationPlan)
Creates the source endpoint for the given migration plan.
Declaration
ISourceEndpoint CreateSource(IMigrationPlan plan)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPlan | plan | The migration plan to configure the endpoint for. |
Returns
Type | Description |
---|---|
ISourceEndpoint | The created source endpoint. |
Exceptions
Type | Condition |
---|---|
ArgumentException | If the source endpoint type is not supported by the factory. |