C# 클래스 Summer.Batch.Core.Step.Job.JobStep

An IStep that delegates to a Job to do its work. This is a great tool for managing dependencies between jobs, and also to modularise complex step logic into something that is testable in isolation. The job is executed with parameters that can be extracted from the step execution, hence this step can also be usefully used as the worker in a parallel or partitioned execution.
상속: AbstractStep
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
AfterPropertiesSet ( ) : void

Invoked programmatically by JobStepBuilder. @see IInitializationPostOperations#AfterPropertiesSet.

JobStep ( string name ) : Summer.Batch.Core.Launch

Custom constructor using a name

보호된 메소드들

메소드 설명
DoExecute ( StepExecution stepExecution ) : void

Execute the job provided by delegating to the IJobLauncherto prevent duplicate executions. The job parameters will be generated by the IJobParametersExtractorprovided (if any), otherwise empty. On a restart, the job parameters will be the same as the last (failed) execution.

메소드 상세

AfterPropertiesSet() 공개 메소드

Invoked programmatically by JobStepBuilder. @see IInitializationPostOperations#AfterPropertiesSet.
 
public AfterPropertiesSet ( ) : void
리턴 void

DoExecute() 보호된 메소드

Execute the job provided by delegating to the IJobLauncherto prevent duplicate executions. The job parameters will be generated by the IJobParametersExtractorprovided (if any), otherwise empty. On a restart, the job parameters will be the same as the last (failed) execution.
protected DoExecute ( StepExecution stepExecution ) : void
stepExecution StepExecution
리턴 void

JobStep() 공개 메소드

Custom constructor using a name
public JobStep ( string name ) : Summer.Batch.Core.Launch
name string
리턴 Summer.Batch.Core.Launch