org.springframework.batch.core.partition.support
Class StepExecutionAggregator
java.lang.Object
org.springframework.batch.core.partition.support.StepExecutionAggregator
public class StepExecutionAggregator
- extends Object
Convenience class for aggregating a set of StepExecution
instances
into a single result.
- Since:
- 2.0
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepExecutionAggregator
public StepExecutionAggregator()
aggregate
public void aggregate(StepExecution result,
Collection<StepExecution> executions)
- Take the inputs and aggregate certain fields, putting the aggregates into
the result. The aggregated fields are
- Parameters:
result
- the result to overwriteexecutions
- the inputs
Copyright © 2009 SpringSource. All Rights Reserved.