public class JsrPartitionStepBuilder extends PartitionStepBuilder
PartitionStepBuilder
that uses PartitionStep
so that JSR-352 specific semantics are honored.StepBuilderHelper.CommonStepProperties
logger, 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, taskExecutor
allowStartIfComplete, enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete, listener, listener, repository, startLimit, transactionManager
public 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)
PartitionStepBuilder
PartitionStepBuilder.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 PartitionStepBuilder
step
- a step to execute in parallelpublic Step build()
build
in class PartitionStepBuilder