Interface FlowExecutionStateRestorer
public interface FlowExecutionStateRestorer
A strategy used by repositories to restore transient flow execution state during execution restoration.
- Author:
- Keith Donald
-
Method Summary
Modifier and TypeMethodDescriptionrestoreState
(FlowExecution execution, FlowDefinition definition, FlowExecutionKey key, MutableAttributeMap<Object> conversationScope, FlowDefinitionLocator subflowDefinitionLocator) Restore the transient state of the flow execution.
-
Method Details
-
restoreState
FlowExecution restoreState(FlowExecution execution, FlowDefinition definition, FlowExecutionKey key, MutableAttributeMap<Object> conversationScope, FlowDefinitionLocator subflowDefinitionLocator) Restore the transient state of the flow execution.- Parameters:
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- Returns:
- the restored flow execution
-