Class MigrationManifestFactory
Default IMigrationManifestFactory implementation.
Implements
Namespace: Tableau.Migration.Engine.Manifest
Assembly: Tableau.Migration.dll
Syntax
public class MigrationManifestFactory : IMigrationManifestFactory
Constructors
MigrationManifestFactory(ISharedResourcesLocalizer, ILoggerFactory)
Creates a new MigrationManifestFactory object.
Declaration
public MigrationManifestFactory(ISharedResourcesLocalizer localizer, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | A localizer. |
ILoggerFactory | loggerFactory | A logger factory. |
Methods
Create(Guid, Guid)
Creates a new IMigrationManifest object.
Declaration
public IMigrationManifestEditor Create(Guid planId, Guid migrationId)
Parameters
Type | Name | Description |
---|---|---|
Guid | planId | The unique ID of the IMigrationPlan that the migration is running. |
Guid | migrationId | The unique ID of the IMigration to include in the manifest. |
Returns
Type | Description |
---|---|
IMigrationManifestEditor | The created IMigrationManifestEditor object. |
Create(IMigrationInput, Guid)
Creates a new IMigrationManifest object.
Declaration
public IMigrationManifestEditor Create(IMigrationInput input, Guid migrationId)
Parameters
Type | Name | Description |
---|---|---|
IMigrationInput | input | A migration input to use for initialization. |
Guid | migrationId | The unique ID of the IMigration to include in the manifest. |
Returns
Type | Description |
---|---|
IMigrationManifestEditor | The created IMigrationManifestEditor object. |