C# 클래스 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.
상속: IFeedManager
파일 보기 프로젝트 열기: scoutmedia/DataMigration

공개 메소드들

메소드 설명
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.

메소드 상세

DownloadCurrentToLocal() 공개 메소드

public DownloadCurrentToLocal ( bool doDownload = true ) : void
doDownload bool
리턴 void

MoveCurrentToArchive() 공개 메소드

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
리턴 string

MoveDropToCurrent() 공개 메소드

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

NeedsToProcess() 공개 메소드

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
리턴 bool