C# Class 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.
Inheritance: AbstractStep
Afficher le fichier Open project: SummerBatch/SummerBatch

Méthodes publiques

Méthode Description
AfterPropertiesSet ( ) : void

Invoked programmatically by JobStepBuilder. @see IInitializationPostOperations#AfterPropertiesSet.

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

Custom constructor using a name

Méthodes protégées

Méthode Description
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.

Method Details

AfterPropertiesSet() public méthode

Invoked programmatically by JobStepBuilder. @see IInitializationPostOperations#AfterPropertiesSet.
 
public AfterPropertiesSet ( ) : void
Résultat void

DoExecute() protected méthode

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
Résultat void

JobStep() public méthode

Custom constructor using a name
public JobStep ( string name ) : Summer.Batch.Core.Launch
name string
Résultat Summer.Batch.Core.Launch