You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution of selftransition does not support option to ignore entry/exit actions. However in prevail cases this is what is required. Now, there is possibility to do it by using onEntryFrom. But from my point of view it is more as workaround.
Please, look for example bellow, and here are the issues I can see,
1, it complicates FSM, as you can see,
2, Adding just one selftransition to this state, where execution of entry/exit is not required, there must be simple one onEtry, replaced with all possible events which should execute action1 on entry.
3, Now imagine new event9 is added in state S5, which target state is S1. Simply, for this event entry action will be not executed till not added to S1 another onEntryFrom, what is error prone. I believe, there should be form of permit which
will do not execute entry/exit. So far we used to use SMC(https://smc.sourceforge.net/) as FSM, but for java I like to be able to use stateless4j lightweight alternative.
Hi Guys,
Execution of selftransition does not support option to ignore entry/exit actions. However in prevail cases this is what is required. Now, there is possibility to do it by using onEntryFrom. But from my point of view it is more as workaround.
Please, look for example bellow, and here are the issues I can see,
1, it complicates FSM, as you can see,
2, Adding just one selftransition to this state, where execution of entry/exit is not required, there must be simple one onEtry, replaced with all possible events which should execute action1 on entry.
3, Now imagine new event9 is added in state S5, which target state is S1. Simply, for this event entry action will be not executed till not added to S1 another onEntryFrom, what is error prone. I believe, there should be form of permit which
will do not execute entry/exit. So far we used to use SMC(https://smc.sourceforge.net/) as FSM, but for java I like to be able to use stateless4j lightweight alternative.
PS: sorry, it is not a bug, but I has not been able to change label
The text was updated successfully, but these errors were encountered: