类 JsrSimpleStepBuilder<I,O>
- java.lang.Object
- org.springframework.batch.core.step.builder.StepBuilderHelper<AbstractTaskletStepBuilder<B>>
- org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder<SimpleStepBuilder<I,O>>
- org.springframework.batch.core.step.builder.SimpleStepBuilder<I,O>
- org.springframework.batch.core.jsr.step.builder.JsrSimpleStepBuilder<I,O>
- 类型参数:
I
- The input type for the stepO
- The output type for the step
public class JsrSimpleStepBuilder<I,O> extends SimpleStepBuilder<I,O>
A step builder that extends theFaultTolerantStepBuilder
to create JSR-352 specificChunkProvider
andChunkProcessor
supporting the chunking pattern defined by the spec.- 作者:
- Michael Minella
嵌套类概要
从类继承的嵌套类/接口 org.springframework.batch.core.step.builder.StepBuilderHelper
StepBuilderHelper.CommonStepProperties
字段概要
从类继承的字段 org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder
chunkListeners
从类继承的字段 org.springframework.batch.core.step.builder.StepBuilderHelper
logger, properties
构造器概要
构造器 构造器 说明 JsrSimpleStepBuilder(StepBuilder parent)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TaskletStep
build()
Build the step from the components collected by the fluent setters.protected Tasklet
createTasklet()
JsrPartitionStepBuilder
partitioner(Step step)
void
setBatchPropertyContext(BatchPropertyContext batchPropertyContext)
从类继承的方法 org.springframework.batch.core.step.builder.SimpleStepBuilder
chunk, chunk, chunkOperations, createChunkOperations, faultTolerant, getChunkCompletionPolicy, getChunkSize, getItemListeners, getProcessor, getReader, getWriter, isReaderTransactionalQueue, listener, listener, listener, listener, processor, processor, reader, readerIsTransactionalQueue, registerAsStreamsAndListeners, registerStepListenerAsItemListener, writer
从类继承的方法 org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder
concurrent, exceptionHandler, getExceptionHandler, getStepOperations, getStreams, getTaskExecutor, getThrottleLimit, getTransactionAttribute, listener, registerStepListenerAsChunkListener, stepOperations, stream, taskExecutor, throttleLimit, transactionAttribute
从类继承的方法 org.springframework.batch.core.step.builder.StepBuilderHelper
allowStartIfComplete, enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete, listener, repository, startLimit, transactionManager
构造器详细资料
JsrSimpleStepBuilder
public JsrSimpleStepBuilder(StepBuilder parent)
方法详细资料
partitioner
public JsrPartitionStepBuilder partitioner(Step step)
setBatchPropertyContext
public void setBatchPropertyContext(BatchPropertyContext batchPropertyContext)
build
public TaskletStep build()
Build the step from the components collected by the fluent setters. Delegates first toStepBuilderHelper.enhance(Step)
and then tocreateTasklet()
in subclasses to create the actual tasklet.- 覆盖:
build
在类中SimpleStepBuilder<I,O>
- 返回:
- a tasklet step fully configured and read to execute
- 另请参阅:
AbstractTaskletStepBuilder.build()
createTasklet
protected Tasklet createTasklet()
- 覆盖:
createTasklet
在类中SimpleStepBuilder<I,O>