Package org.chenile.stm.impl
Class DataFlowReader
java.lang.Object
org.chenile.stm.impl.FlowReaderBase
org.chenile.stm.impl.DataFlowReader
- All Implemented Interfaces:
FlowReader
-
Field Summary
Fields inherited from class org.chenile.stm.impl.FlowReaderBase
stmFlowStoreImpl
-
Constructor Summary
ConstructorDescriptionDataFlowReader
(StmDataProvider dataProvider, STMFlowStoreImpl stmFlowStoreImpl) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
processMetaAttributesForState
(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo) private void
processMetaAttributesForTransition
(Transition transition, TransitionDescriptionDTO transitionInfo) private void
setActionDescriptorProperties
(AutomaticStateDescriptor stateDescriptor, String componentName, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) private void
setCommonStateProperties
(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) private STMAction<?>
setEntryExitAction
(String entryExitActionOfFlow, Boolean enableInlineScripts) private FlowDescriptor
setFlowDescriptorInfo
(Map<String, StateTagDescriptor> statetags, FlowDescriptionDTO flowInfo, FlowDescriptor flowDescriptor) private StateEntityRetrievalStrategy<? extends StateEntity>
setRetrievalStrategyforFlow
(String retrievalStrategyOfFlow) private STMSecurityStrategy
setSecurityStrategyforFlow
(String securityStrategyOfFlow) void
setStmDataProvider
(StmDataProvider stmDataProvider) private void
setTransitionsInfo
(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags, Map<String, StateDescriptor> receivedStates, List<StateDescriptionDTO> dbSDList)
-
Field Details
-
stmDataProvider
-
-
Constructor Details
-
DataFlowReader
public DataFlowReader(StmDataProvider dataProvider, STMFlowStoreImpl stmFlowStoreImpl) throws Exception - Throws:
Exception
-
-
Method Details
-
init
- Throws:
Exception
-
setFlowDescriptorInfo
private FlowDescriptor setFlowDescriptorInfo(Map<String, StateTagDescriptor> statetags, FlowDescriptionDTO flowInfo, FlowDescriptor flowDescriptor) throws Exception- Throws:
Exception
-
setTransitionsInfo
private void setTransitionsInfo(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags, Map<String, throws STMExceptionStateDescriptor> receivedStates, List<StateDescriptionDTO> dbSDList) - Throws:
STMException
-
setCommonStateProperties
private void setCommonStateProperties(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) throws STMException- Throws:
STMException
-
processMetaAttributesForState
private void processMetaAttributesForState(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo) -
processMetaAttributesForTransition
private void processMetaAttributesForTransition(Transition transition, TransitionDescriptionDTO transitionInfo) -
setActionDescriptorProperties
private void setActionDescriptorProperties(AutomaticStateDescriptor stateDescriptor, String componentName, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) throws STMException- Throws:
STMException
-
setEntryExitAction
private STMAction<?> setEntryExitAction(String entryExitActionOfFlow, Boolean enableInlineScripts) throws STMException - Throws:
STMException
-
setRetrievalStrategyforFlow
private StateEntityRetrievalStrategy<? extends StateEntity> setRetrievalStrategyforFlow(String retrievalStrategyOfFlow) throws STMException - Throws:
STMException
-
setSecurityStrategyforFlow
private STMSecurityStrategy setSecurityStrategyforFlow(String securityStrategyOfFlow) throws STMException - Throws:
STMException
-
getStmDataProvider
-
setStmDataProvider
-