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
Показать файл Открыть проект

Открытые методы

Метод Описание
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