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

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

Constructor Summary
DefaultStepExecutionAggregator()
           
 
Method Summary
 void aggregate(StepExecution result, Collection<StepExecution> executions)
          Aggregates the input executions into the result StepExecution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStepExecutionAggregator

public DefaultStepExecutionAggregator()
Method Detail

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 overwrite
executions - the inputs
See Also:
#aggregate(StepExecution, Collection)


Copyright © 2013 SpringSource. All Rights Reserved.