org.springframework.batch.core.jsr.partition.support

## Class JsrStepExecutionAggregator

- java.lang.Object
- - org.springframework.batch.core.jsr.partition.support.JsrStepExecutionAggregator

- All Implemented Interfaces:
    StepExecutionAggregator

      public class JsrStepExecutionAggregator
      extends java.lang.Object
      implements StepExecutionAggregator

  Aggregates `StepExecution`s based on the rules outlined in JSR-352. Specifically it aggregates all counts and determines the correct BatchStatus. However, the ExitStatus for each child StepExecution is ignored.
  Since:
    3.0
  Author:
    Michael Minella

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsrStepExecutionAggregator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `aggregate(StepExecution result, java.util.Collection<StepExecution> executions)` Take the inputs and aggregate, 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

    - #### JsrStepExecutionAggregator

          public JsrStepExecutionAggregator()

  - ### Method Detail

    - #### aggregate

          public void aggregate(StepExecution result,
                                java.util.Collection<StepExecution> executions)

      Description copied from interface: `StepExecutionAggregator`
      Take the inputs and aggregate, putting the aggregates into the result.
      Specified by:
        `aggregate` in interface `StepExecutionAggregator`
      Parameters:
        `result` - the result to overwrite
        `executions` - the inputs