类 JsrPartitionStepBuilder
- java.lang.Object
- org.springframework.batch.core.step.builder.StepBuilderHelper<PartitionStepBuilder>
- org.springframework.batch.core.step.builder.PartitionStepBuilder
- org.springframework.batch.core.jsr.step.builder.JsrPartitionStepBuilder
public class JsrPartitionStepBuilder extends PartitionStepBuilder
An extension of thePartitionStepBuilder
that usesPartitionStep
so that JSR-352 specific semantics are honored.- 从以下版本开始:
- 3.0
- 作者:
- Michael Minella
嵌套类概要
从类继承的嵌套类/接口 org.springframework.batch.core.step.builder.StepBuilderHelper
StepBuilderHelper.CommonStepProperties
字段概要
从类继承的字段 org.springframework.batch.core.step.builder.StepBuilderHelper
logger, properties
构造器概要
构造器 构造器 说明 JsrPartitionStepBuilder(StepBuilderHelper<?> parent)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Step
build()
JsrPartitionStepBuilder
reducer(javax.batch.api.partition.PartitionReducer reducer)
JsrPartitionStepBuilder
step(Step step)
Provide an actual step instance to execute in parallel.从类继承的方法 org.springframework.batch.core.step.builder.PartitionStepBuilder
aggregator, getAggregator, getGridSize, getPartitioner, getPartitionHandler, getSplitter, getStep, getStepName, getTaskExecutor, gridSize, partitioner, partitionHandler, splitter, taskExecutor
从类继承的方法 org.springframework.batch.core.step.builder.StepBuilderHelper
allowStartIfComplete, enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete, listener, listener, repository, startLimit, transactionManager
构造器详细资料
JsrPartitionStepBuilder
public JsrPartitionStepBuilder(StepBuilderHelper<?> parent)
- 参数:
parent
- parent step builder for basic step properties
方法详细资料
reducer
public JsrPartitionStepBuilder reducer(javax.batch.api.partition.PartitionReducer reducer)
- 参数:
reducer
- used to provide a single callback at the beginning and end of a partitioned step.- 返回:
- this
step
public JsrPartitionStepBuilder step(Step step)
从类复制的说明:PartitionStepBuilder
Provide an actual step instance to execute in parallel. If an explicitPartitionStepBuilder.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
在类中PartitionStepBuilder
- 参数:
step
- a step to execute in parallel- 返回:
- this for fluent chaining
build
public Step build()
- 覆盖:
build
在类中PartitionStepBuilder