Interface SubflowAttributeMapper
- All Known Implementing Classes:
GenericSubflowAttributeMapper
public interface SubflowAttributeMapper
A strategy interface used by a subflow state to map subflow input and output attributes.
- Author:
- Keith Donald
-
Method Summary
Modifier and TypeMethodDescriptioncreateSubflowInput
(RequestContext context) Create a map of attributes that should be passed as input to a subflow.void
mapSubflowOutput
(AttributeMap<?> output, RequestContext context) Map output attributes of an ended subflow flow to the resuming parent flow.
-
Method Details
-
createSubflowInput
Create a map of attributes that should be passed as input to a subflow.- Parameters:
context
- the current request execution context- Returns:
- a map of attributes to pass as input
-
mapSubflowOutput
Map output attributes of an ended subflow flow to the resuming parent flow.- Parameters:
output
- the output attributes returned by the ended subflowcontext
- the current request execution context, which gives access to the parent flow scope
-