Show / Hide Table of Contents

Interface IChangeLogResultsHandler

Results handler for the change log retrieval operation.

Inherited Members
IFileListResultsHandler.QueueFileAsync(IFileMetadata, string, CancellationToken)
IFailureRegistration.RegisterFailureAsync(string, IFailureDetails, CancellationToken)
IFailureRegistration.RegisterFailureAsync(IFailureDetails, CancellationToken)
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public interface IChangeLogResultsHandler : IFileListResultsHandler, IFailureRegistration
Remarks

This results handler allows queueing of repository files discovered during re-scan.

Methods

AddDeletedItemAsync(string, CancellationToken)

Records location of a file that no longer exists since they were last scanned/processed. Reporting a file as deleted causes it to be deleted immediately. If it turns up again that would be a new file.

Declaration
ValueTask AddDeletedItemAsync(string fileLocation, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string fileLocation

The file location.

CancellationToken cancellationToken

The task cancellation token.

Returns
Type Description
ValueTask

ValueTask.

AddLostItemAsync(string, CancellationToken)

Records location of a file that no longer exists since they were last scanned/processed. Reporting a file as lost triggers a (usually 7 day) grace period prior to deletion. If the file turns up in a rescan in that period then it is found again.

Declaration
ValueTask AddLostItemAsync(string fileLocation, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string fileLocation

The file location.

CancellationToken cancellationToken

The task cancellation token.

Returns
Type Description
ValueTask

ValueTask.

In this article
Back to top Generated by DocFX