org.springframework.batch.core.partition.support
Class StepExecutionAggregator

java.lang.Object
  extended by 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

Constructor Summary
StepExecutionAggregator()
           
 
Method Summary
 void aggregate(StepExecution result, Collection<StepExecution> executions)
          Take the inputs and aggregate certain fields, putting the aggregates into the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepExecutionAggregator

public StepExecutionAggregator()
Method Detail

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 overwrite
executions - the inputs


Copyright © 2009 SpringSource. All Rights Reserved.