C# Class DataMigration.NonFileBasedFeedManager

This is used for non-file-based data sources, it does no actual work, but just allows the MigrationEngine to go directly to using the Parser to do work.
Inheritance: IFeedManager
Afficher le fichier Open project: scoutmedia/DataMigration

Méthodes publiques

Méthode Description
DownloadCurrentToLocal ( bool doDownload = true ) : void
MoveCurrentToArchive ( ) : string

In this implementation, there are no files to move, hence it does nothing. Normally, The name of the dated subdirectory under archive. In this case, it just returns String.Empty;

MoveDropToCurrent ( ) : void

This implementation does nothing, since there are no files to move.

NeedsToProcess ( ) : bool

Given a DataSourcePlan and an IFeedAccess instance, an IFeedManager is responsible for determining if there is work to do. In this case, we simply want to always return true, because there are no physical files to manipulate, and we always want to do the work.

Method Details

DownloadCurrentToLocal() public méthode

public DownloadCurrentToLocal ( bool doDownload = true ) : void
doDownload bool
Résultat void

MoveCurrentToArchive() public méthode

In this implementation, there are no files to move, hence it does nothing. Normally, The name of the dated subdirectory under archive. In this case, it just returns String.Empty;
public MoveCurrentToArchive ( ) : string
Résultat string

MoveDropToCurrent() public méthode

This implementation does nothing, since there are no files to move.
public MoveDropToCurrent ( ) : void
Résultat void

NeedsToProcess() public méthode

Given a DataSourcePlan and an IFeedAccess instance, an IFeedManager is responsible for determining if there is work to do. In this case, we simply want to always return true, because there are no physical files to manipulate, and we always want to do the work.
public NeedsToProcess ( ) : bool
Résultat bool