Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5
-
None
-
Win XP, JDK 1.5
Description
I want a feature that does the following:
1. Consider a state transition from S1 -> S2 -> S3 -> S4, the initial state being "S1".
2. Instantiate a state machine and set its initial state to "S3"
3. Basically, I am resuming the state machine to start from state "S3", and I don't want the engine to invoke the OnEntry executable content applicable to state "S3". I also want to prevent any EntryListeners from being executed on resuming the state machine from state "S3". Here the assumption is that the state machine had earlier run from "S1" to "S3", and at a later point in time I want to resume the state machine from "S3".
Currently, the OnEntry and EntryListeners are executed when I set the new initial start state in the state machine and do a engine.go()
I have attached a modifed AbstractStateMachine.java where I attempted to disable the EntryListeners on a resume.