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
FieldsFields inherited from class org.chenile.stm.impl.FlowReaderBase
stmFlowStoreImpl -
Constructor Summary
ConstructorsConstructorDescriptionDataFlowReader(StmDataProvider dataProvider, STMFlowStoreImpl stmFlowStoreImpl) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidprocessMetaAttributesForState(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo) private voidprocessMetaAttributesForTransition(Transition transition, TransitionDescriptionDTO transitionInfo) private voidsetActionDescriptorProperties(AutomaticStateDescriptor stateDescriptor, String componentName, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) private voidsetCommonStateProperties(StateDescriptor stateDescriptor, StateDescriptionDTO stateInfo, Map<String, StateTagDescriptor> statetags) private STMAction<?>setEntryExitAction(String entryExitActionOfFlow, Boolean enableInlineScripts) private FlowDescriptorsetFlowDescriptorInfo(Map<String, StateTagDescriptor> statetags, FlowDescriptionDTO flowInfo, FlowDescriptor flowDescriptor) private StateEntityRetrievalStrategy<? extends StateEntity>setRetrievalStrategyforFlow(String retrievalStrategyOfFlow) private STMSecurityStrategysetSecurityStrategyforFlow(String securityStrategyOfFlow) voidsetStmDataProvider(StmDataProvider stmDataProvider) private voidsetTransitionsInfo(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
-