Class JsrStepExecutionAggregator
- java.lang.Object
- org.springframework.batch.core.jsr.partition.support.JsrStepExecutionAggregator
- All Implemented Interfaces:
StepExecutionAggregator
public class JsrStepExecutionAggregator extends java.lang.Object implements StepExecutionAggregator
AggregatesStepExecutions based on the rules outlined in JSR-352. Specifically it aggregates all counts and determines the correct BatchStatus. However, the ExitStatus for each child StepExecution is ignored.- Since:
- 3.0
- Author:
- Michael Minella
Constructor Summary
Constructors Constructor Description JsrStepExecutionAggregator()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(StepExecution result, java.util.Collection<StepExecution> executions)Take the inputs and aggregate, putting the aggregates into the result.
Method Detail
aggregate
public void aggregate(StepExecution result, java.util.Collection<StepExecution> executions)
Description copied from interface:StepExecutionAggregatorTake the inputs and aggregate, putting the aggregates into the result.- Specified by:
aggregatein interfaceStepExecutionAggregator- Parameters:
result- the result to overwriteexecutions- the inputs