public final class GenericSubflowAttributeMapper extends java.lang.Object implements SubflowAttributeMapper, java.io.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<java.lang.Object> |
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.
|
java.lang.String |
toString() |
public MutableAttributeMap<java.lang.Object> 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 scopepublic java.lang.String toString()
toString
in class java.lang.Object