Interface EnablementStrategy

All Known Implementing Classes:
ConfigBasedEnablementStrategy, DummyEnablementStrategy

public interface EnablementStrategy
Implementations of this interface enable/disable states and events based out of various criteria. This allows the state transition diagram to be customized using configurations. ConfigBasedEnablementStrategy is the easiest way to achieve this. But there can be alternative implementations possible for selectively enabling or disabling states and events/transitions based on various criteria.