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