Class MaxValueFlowExecutionAggregator
java.lang.Object
org.springframework.batch.core.job.flow.support.state.MaxValueFlowExecutionAggregator
- All Implemented Interfaces:
FlowExecutionAggregator
Implementation of the
FlowExecutionAggregator interface that aggregates
FlowExecutionStatus', using the status with the high precedence as the
aggregate status. See FlowExecutionStatus for details on status precedence.- Since:
- 2.0
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregate(Collection<FlowExecution> executions) Aggregate all of theFlowExecutionStatuses of theFlowExecutions into one status.
-
Constructor Details
-
MaxValueFlowExecutionAggregator
public MaxValueFlowExecutionAggregator()
-
-
Method Details
-
aggregate
Aggregate all of theFlowExecutionStatuses of theFlowExecutions into one status. The aggregate status will be the status with the highest precedence.- Specified by:
aggregatein interfaceFlowExecutionAggregator- Parameters:
executions- the executions to aggregate- Returns:
- a summary status for the whole lot
- See Also:
-