org.springframework.batch.core.partition.support
Class DefaultStepExecutionAggregator
java.lang.Object
org.springframework.batch.core.partition.support.DefaultStepExecutionAggregator
- All Implemented Interfaces:
- StepExecutionAggregator
public class DefaultStepExecutionAggregator
- extends Object
- implements StepExecutionAggregator
Convenience class for aggregating a set of StepExecution
instances
into a single result.
- Since:
- 2.1
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStepExecutionAggregator
public DefaultStepExecutionAggregator()
aggregate
public void aggregate(StepExecution result,
Collection<StepExecution> executions)
- Aggregates the input executions into the result
StepExecution
.
The aggregated fields are
- Specified by:
aggregate
in interface StepExecutionAggregator
- Parameters:
result
- the result to overwriteexecutions
- the inputs- See Also:
#aggregate(StepExecution, Collection)
Copyright © 2013 SpringSource. All Rights Reserved.