public class DefaultStepExecutionAggregator extends java.lang.Object implements StepExecutionAggregator
StepExecution instances
into a single result.| Constructor and Description |
|---|
DefaultStepExecutionAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(StepExecution result,
java.util.Collection<StepExecution> executions)
Aggregates the input executions into the result
StepExecution. |
public void aggregate(StepExecution result, java.util.Collection<StepExecution> executions)
StepExecution.
The aggregated fields are
BatchStatus.max(BatchStatus, BatchStatus)ExitStatus.and(ExitStatus)aggregate in interface StepExecutionAggregatorresult - the result to overwriteexecutions - the inputs#aggregate(StepExecution, Collection)