Class JsrBatchletStepBuilder
- java.lang.Object
- org.springframework.batch.core.step.builder.StepBuilderHelper<AbstractTaskletStepBuilder<B>>
- org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder<TaskletStepBuilder>
- org.springframework.batch.core.step.builder.TaskletStepBuilder
- org.springframework.batch.core.jsr.step.builder.JsrBatchletStepBuilder
public class JsrBatchletStepBuilder extends TaskletStepBuilder
- Since:
- 3.0
- Author:
- Michael Minella, Mahmoud Ben Hassine
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.batch.core.step.builder.StepBuilderHelper
StepBuilderHelper.CommonStepProperties
Field Summary
Fields inherited from class org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder
chunkListeners
Fields inherited from class org.springframework.batch.core.step.builder.StepBuilderHelper
logger, properties
Constructor Summary
Constructors Constructor Description JsrBatchletStepBuilder(StepBuilderHelper<? extends StepBuilderHelper<?>> parent)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskletStep
build()
Build the step from the components collected by the fluent setters.void
setBatchPropertyContext(BatchPropertyContext context)
Methods inherited from class org.springframework.batch.core.step.builder.TaskletStepBuilder
createTasklet, tasklet
Methods inherited from class org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder
concurrent, exceptionHandler, getExceptionHandler, getStepOperations, getStreams, getTaskExecutor, getThrottleLimit, getTransactionAttribute, listener, listener, registerStepListenerAsChunkListener, stepOperations, stream, taskExecutor, throttleLimit, transactionAttribute
Methods inherited from class org.springframework.batch.core.step.builder.StepBuilderHelper
allowStartIfComplete, enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete, listener, repository, startLimit, transactionManager
Constructor Detail
JsrBatchletStepBuilder
public JsrBatchletStepBuilder(StepBuilderHelper<? extends StepBuilderHelper<?>> parent)
Method Detail
setBatchPropertyContext
public void setBatchPropertyContext(BatchPropertyContext context)
- Parameters:
context
- used to resolve lazy bound properties
build
public TaskletStep build()
Build the step from the components collected by the fluent setters. Delegates first toStepBuilderHelper.enhance(Step)
and then toTaskletStepBuilder.createTasklet()
in subclasses to create the actual tasklet.- Overrides:
build
in classAbstractTaskletStepBuilder<TaskletStepBuilder>
- Returns:
- a tasklet step fully configured and read to execute