Class ExtractRefreshTaskServerToCloudPreparer
IContentItemPreparer<TContent, TPublish> implementation that pulls the publish item from the source endpoint.
Inheritance
ExtractRefreshTaskServerToCloudPreparer
Inherited Members
Namespace: Tableau.Migration.Engine.Preparation
Assembly: Tableau.Migration.dll
Syntax
public class ExtractRefreshTaskServerToCloudPreparer : EndpointContentItemPreparer<IServerExtractRefreshTask, ICloudExtractRefreshTask>, IContentItemPreparer<IServerExtractRefreshTask, ICloudExtractRefreshTask>
Constructors
ExtractRefreshTaskServerToCloudPreparer(ISourceEndpoint, IDestinationEndpoint, IContentTransformerRunner, IDestinationContentReferenceFinderFactory, IConfigReader)
Creates a new ExtractRefreshTaskServerToCloudPreparer object.
Declaration
public ExtractRefreshTaskServerToCloudPreparer(ISourceEndpoint source, IDestinationEndpoint destination, IContentTransformerRunner transformerRunner, IDestinationContentReferenceFinderFactory destinationFinderFactory, IConfigReader configReader)
Parameters
Type | Name | Description |
---|---|---|
ISourceEndpoint | source | The source endpoint. |
IDestinationEndpoint | destination | The destination endpoint. |
IContentTransformerRunner | transformerRunner | |
IDestinationContentReferenceFinderFactory | destinationFinderFactory | |
IConfigReader | configReader | A config reader. |
Methods
TransformAsync(ICloudExtractRefreshTask, CancellationToken)
Performs pre-publishing modifications on a publish item.
Declaration
protected override Task<IResult<ICloudExtractRefreshTask>> TransformAsync(ICloudExtractRefreshTask publishItem, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
ICloudExtractRefreshTask | publishItem | The item intended for publishing to prepare. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult<ICloudExtractRefreshTask>> | The item to use for publishing. |