public interface FlowExecutionStateRestorer
Modifier and Type | Method and Description |
---|---|
FlowExecution |
restoreState(FlowExecution execution,
FlowDefinition definition,
FlowExecutionKey key,
MutableAttributeMap<java.lang.Object> conversationScope,
FlowDefinitionLocator subflowDefinitionLocator)
Restore the transient state of the flow execution.
|
FlowExecution restoreState(FlowExecution execution, FlowDefinition definition, FlowExecutionKey key, MutableAttributeMap<java.lang.Object> conversationScope, FlowDefinitionLocator subflowDefinitionLocator)
execution
- the flow execution, newly deserialized and needing restorationdefinition
- the root flow definition for the execution, typically not part of the serialized formkey
- the flow execution key, typically not part of the serialized formconversationScope
- the execution's conversation scope, which is typically not part of the serialized form
since it could be shared by multiple physical flow execution copies all sharing the same logical
conversationsubflowDefinitionLocator
- for locating the definitions of any subflows started by the execution