public class JsrPartitionStepBuilder extends PartitionStepBuilder
PartitionStepBuilder that uses PartitionStep
so that JSR-352 specific semantics are honored.StepBuilderHelper.CommonStepPropertieslogger, properties| Constructor and Description |
|---|
JsrPartitionStepBuilder(StepBuilderHelper<?> parent) |
| Modifier and Type | Method and Description |
|---|---|
Step |
build() |
JsrPartitionStepBuilder |
reducer(javax.batch.api.partition.PartitionReducer reducer) |
JsrPartitionStepBuilder |
step(Step step)
Provide an actual step instance to execute in parallel.
|
aggregator, getAggregator, getGridSize, getPartitioner, getPartitionHandler, getSplitter, getStep, getStepName, getTaskExecutor, gridSize, partitioner, partitionHandler, splitter, taskExecutorallowStartIfComplete, enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete, listener, listener, repository, startLimit, transactionManagerpublic JsrPartitionStepBuilder(StepBuilderHelper<?> parent)
parent - parent step builder for basic step propertiespublic JsrPartitionStepBuilder reducer(javax.batch.api.partition.PartitionReducer reducer)
reducer - used to provide a single callback at the beginning and end
of a partitioned step.public JsrPartitionStepBuilder step(Step step)
PartitionStepBuilderPartitionStepBuilder.partitionHandler(PartitionHandler) is provided, the step is optional and is only used to extract
configuration data (name and other basic properties of a step).step in class PartitionStepBuilderstep - a step to execute in parallelpublic Step build()
build in class PartitionStepBuilder