public final class GenericSubflowAttributeMapper extends Object implements SubflowAttributeMapper, Serializable
Constructor and Description |
---|
GenericSubflowAttributeMapper(Mapper inputMapper,
Mapper outputMapper)
Create a new flow attribute mapper using given mapping strategies.
|
Modifier and Type | Method and Description |
---|---|
MutableAttributeMap |
createSubflowInput(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.
|
String |
toString() |
public MutableAttributeMap createSubflowInput(RequestContext context)
SubflowAttributeMapper
createSubflowInput
in interface SubflowAttributeMapper
context
- the current request execution contextpublic void mapSubflowOutput(AttributeMap output, RequestContext context)
SubflowAttributeMapper
mapSubflowOutput
in interface SubflowAttributeMapper
output
- the output attributes returned by the ended subflowcontext
- the current request execution context, which gives access to the parent flow scope