Interface IMigrationPipeline
Interface for an object that defines the steps and strategies needed to perform a migration of Tableau data.
Namespace: Tableau.Migration.Engine.Pipelines
Assembly: Tableau.Migration.dll
Syntax
public interface IMigrationPipeline
Methods
BuildActions()
Builds the ordered actions in the pipeline to execute.
Declaration
ImmutableArray<IMigrationAction> BuildActions()
Returns
| Type | Description |
|---|---|
| ImmutableArray<IMigrationAction> |
CreateDestinationCache<TContent>()
Gets the destination cache for the given content type.
Declaration
IContentReferenceCache CreateDestinationCache<TContent>() where TContent : class, IContentReference
Returns
| Type | Description |
|---|---|
| IContentReferenceCache | The destination cache. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
CreateSourceCache<TContent>()
Gets the source cache for the given content type.
Declaration
IContentReferenceCache CreateSourceCache<TContent>() where TContent : class, IContentReference
Returns
| Type | Description |
|---|---|
| IContentReferenceCache | The source cache. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
GetBatchMigrator<TContent>()
Gets a batch level migrator for the given content type.
Declaration
IContentBatchMigrator<TContent> GetBatchMigrator<TContent>() where TContent : class, IContentReference
Returns
| Type | Description |
|---|---|
| IContentBatchMigrator<TContent> | The batch level migrator. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
GetDestinationLockedProjectCache()
Gets the destination locked project cache.
Declaration
ILockedProjectCache GetDestinationLockedProjectCache()
Returns
| Type | Description |
|---|---|
| ILockedProjectCache | The destination locked project cache. |
GetItemConverter<TPrepare, TPublish>()
Gets a content item converter for the given prepare and publish types.
Declaration
IContentItemConverter<TPrepare, TPublish> GetItemConverter<TPrepare, TPublish>() where TPrepare : class where TPublish : class
Returns
| Type | Description |
|---|---|
| IContentItemConverter<TPrepare, TPublish> |
Type Parameters
| Name | Description |
|---|---|
| TPrepare | The type being prepared. |
| TPublish | The publish type. |
GetItemPreparer<TContent, TPrepare, TPublish>()
Gets a content item preparer for the given content and publish types.
Declaration
IContentItemPreparer<TContent, TPublish> GetItemPreparer<TContent, TPrepare, TPublish>() where TContent : class where TPrepare : class where TPublish : class
Returns
| Type | Description |
|---|---|
| IContentItemPreparer<TContent, TPublish> | The content preparer. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
| TPrepare | The type being prepared. |
| TPublish | The publish type. |
GetMigrator<TContent>()
Gets a content type level migrator for the given content type.
Declaration
IContentMigrator<TContent> GetMigrator<TContent>() where TContent : class, IContentReference
Returns
| Type | Description |
|---|---|
| IContentMigrator<TContent> | The content type level migrator. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |