Interface PayloadReducer
- All Superinterfaces:
BiFunction<Map<String,@Nullable Object>, Map<String, @Nullable Object>, Map<String, @Nullable Object>>
- All Known Implementing Classes:
CombineGlobalAndLocalPayloadReducer,GlobalOnlyPayloadReducer,LocalOnlyPayloadReducer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface PayloadReducer
extends BiFunction<Map<String,@Nullable Object>,Map<String,@Nullable Object>,Map<String,@Nullable Object>>
Payload reducer to combine two payloads into one. In general, there is a global payload (part of the state of the
workflow instance) and a local payload (part of the step execution). On the step invocation, the global and local
form the invocation parameters. After the step execution, the local result and global payload form the resulting
workflow instance payload.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski, Stefan Dragisic
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
Method Details
-
name
Retrieves the name of the reducer.- Returns:
- reducer name.
-