C# 클래스 Summer.Batch.Extra.FtpSupport.FtpGetTasklet

Custom tasklet to do some ftp get NOTE : For now, sftp is UNsupported
상속: ITasklet, IInitializationPostOperations
파일 보기 프로젝트 열기: SummerBatch/SummerBatch 1 사용 예제들

공개 메소드들

메소드 설명
AfterPropertiesSet ( ) : void

@see IInitializationPostOperations#AfterPropertiesSet

DoExecute ( ) : bool

Delegated. Simplifies unit testing.

Execute ( Summer.Batch.Core.StepContribution contribution, Summer.Batch.Core.Scope.Context.ChunkContext chunkContext ) : RepeatStatus

Scan remote directory for files matching the given file name pattern and download them, if any, to the given local directory. @see ITasklet#Execute

비공개 메소드들

메소드 설명
ComputeRemoteFiles ( ) : IList

Search for remote files matching the FileNamePattern

DownloadRemoteFiles ( IList remoteFiles ) : void

Download list of remote files from remote directory

RemoveLocalFiles ( ) : void

Remove local files prior to downloading fresh ones

메소드 상세

AfterPropertiesSet() 공개 메소드

@see IInitializationPostOperations#AfterPropertiesSet
public AfterPropertiesSet ( ) : void
리턴 void

DoExecute() 공개 메소드

Delegated. Simplifies unit testing.
 
public DoExecute ( ) : bool
리턴 bool

Execute() 공개 메소드

Scan remote directory for files matching the given file name pattern and download them, if any, to the given local directory. @see ITasklet#Execute
public Execute ( Summer.Batch.Core.StepContribution contribution, Summer.Batch.Core.Scope.Context.ChunkContext chunkContext ) : RepeatStatus
contribution Summer.Batch.Core.StepContribution
chunkContext Summer.Batch.Core.Scope.Context.ChunkContext
리턴 RepeatStatus