Class FlowRunTaskFlowIdTransformer
Transformer that maps the flow reference from a given flow run task to the destination flow.
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Transformers.Default
Assembly: Tableau.Migration.dll
Syntax
public sealed class FlowRunTaskFlowIdTransformer : ContentTransformerBase<ICloudFlowRunTask>, IContentTransformer<ICloudFlowRunTask>, IMigrationHook<ICloudFlowRunTask>
Constructors
FlowRunTaskFlowIdTransformer(IDestinationContentReferenceFinderFactory, ISharedResourcesLocalizer, ILogger<FlowRunTaskFlowIdTransformer>)
Creates a new FlowRunTaskFlowIdTransformer object.
Declaration
public FlowRunTaskFlowIdTransformer(IDestinationContentReferenceFinderFactory destinationFinderFactory, ISharedResourcesLocalizer localizer, ILogger<FlowRunTaskFlowIdTransformer> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IDestinationContentReferenceFinderFactory | destinationFinderFactory | Destination content finder factory object. |
| ISharedResourcesLocalizer | localizer | A string localizer. |
| ILogger<FlowRunTaskFlowIdTransformer> | logger | The logger used to log messages. |
Methods
TransformAsync(ICloudFlowRunTask, CancellationToken)
Executes the transformation.
Declaration
public override Task<ICloudFlowRunTask?> TransformAsync(ICloudFlowRunTask flowRunTask, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| ICloudFlowRunTask | flowRunTask | |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<ICloudFlowRunTask> | A task to await containing the context,
potentially modified to pass on to the next hook or migration engine,
or null to continue passing the same context as |