Class LoggingMigrationManifest
Migration manifest that writes log entries as the manifest is manipulated.
Inherited Members
Namespace: Tableau.Migration.Engine.Manifest.Logging
Assembly: Tableau.Migration.dll
Syntax
public class LoggingMigrationManifest : MigrationManifest, IMigrationManifestEditor, IMigrationManifest, IEquatable<IMigrationManifest>
Constructors
LoggingMigrationManifest(ISharedResourcesLocalizer, ILoggerFactory, Guid, Guid, IMigrationManifest)
Creates a new LoggingMigrationManifest object.
Declaration
public LoggingMigrationManifest(ISharedResourcesLocalizer localizer, ILoggerFactory loggerFactory, Guid planId, Guid migrationId, IMigrationManifest copyEntriesManifest)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | The localizer. |
ILoggerFactory | loggerFactory | The logger factory. |
Guid | planId | |
Guid | migrationId | |
IMigrationManifest | copyEntriesManifest | An optional manifest to copy entries from. Null will initialize the manifest with an empty set of entries. Top-level information is not copied. |
LoggingMigrationManifest(ISharedResourcesLocalizer, ILoggerFactory, Guid, Guid, PipelineProfile)
Creates a new LoggingMigrationManifest object.
Declaration
public LoggingMigrationManifest(ISharedResourcesLocalizer localizer, ILoggerFactory loggerFactory, Guid planId, Guid migrationId, PipelineProfile pipelineProfile)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | The localizer. |
ILoggerFactory | loggerFactory | The logger factory. |
Guid | planId | |
Guid | migrationId | |
PipelineProfile | pipelineProfile |
Methods
AddErrors(params IEnumerable<Exception>)
Adds top-level errors that are not related to any Tableau content item.
Declaration
public override IMigrationManifestEditor AddErrors(params IEnumerable<Exception> errors)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Exception> | errors | The errors to add. |
Returns
Type | Description |
---|---|
IMigrationManifestEditor | This manifest editor, for fluent API usage. |
Overrides
AddErrors(params Exception[])
Adds top-level errors that are not related to any Tableau content item.
Declaration
public override IMigrationManifestEditor AddErrors(params Exception[] errors)
Parameters
Type | Name | Description |
---|---|---|
Exception[] | errors | The errors to add. |
Returns
Type | Description |
---|---|
IMigrationManifestEditor | This manifest editor, for fluent API usage. |