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
ファイルを表示 Open project: scoutmedia/DataMigration

Public Methods

Method 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 method

public DownloadCurrentToLocal ( bool doDownload = true ) : void
doDownload bool
return void

MoveCurrentToArchive() public method

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
return string

MoveDropToCurrent() public method

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

NeedsToProcess() public method

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
return bool