Package org.chenile.stm.dummy
Class DummyEnablementStrategy
java.lang.Object
org.chenile.stm.dummy.DummyEnablementStrategy
- All Implemented Interfaces:
EnablementStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddDynamicStates
(FlowDescriptor flowInfo) void
void
addMetadataToTransition
(Transition t, StateDescriptor stateDescriptor) getStateInfo
(State state, FlowDescriptor flowDescriptor) boolean
isEventEnabled
(StateDescriptor sd, EventInformation eventInformation) boolean
-
Constructor Details
-
DummyEnablementStrategy
public DummyEnablementStrategy()
-
-
Method Details
-
isStateEnabled
- Specified by:
isStateEnabled
in interfaceEnablementStrategy
-
isEventEnabled
- Specified by:
isEventEnabled
in interfaceEnablementStrategy
-
addDynamicTransitions
- Specified by:
addDynamicTransitions
in interfaceEnablementStrategy
-
getStateInfo
- Specified by:
getStateInfo
in interfaceEnablementStrategy
-
addDynamicStates
- Specified by:
addDynamicStates
in interfaceEnablementStrategy
-
addMetadataToTransition
- Specified by:
addMetadataToTransition
in interfaceEnablementStrategy
-
addMetadataToState
- Specified by:
addMetadataToState
in interfaceEnablementStrategy
-