Re: [SCXML] How to obtain a collection of valid events

2016-05-23 Thread Woonsan Ko
On Fri, May 20, 2016 at 9:36 PM, Mansour Al Akeel wrote: > Woonsan, > Thank you for replying. > From what you said, I can conclude that this is not supported or > offered by SCXML. Am I right here? If you mean finding available event names/patterns (see 3.12.1 in

Re: [SCXML] How to obtain a collection of valid events

2016-05-20 Thread Mansour Al Akeel
Woonsan, Thank you for replying. >From what you said, I can conclude that this is not supported or offered by SCXML. Am I right here? AFAIR an FSM should report if the token is recognized or not, and not just complete the transition/ignore the token silently.. If I am right here as well, then this

Re: [SCXML] How to obtain a collection of valid events

2016-05-16 Thread Woonsan Ko
Hi Mansour, I don't see any convenient method to easily figure out what are available event names for transitions like your use case needs. All the knowledge about that is encapsulated in org.apache.commons.scxml2.semantics.SCXMLSemanticsImpl internally, so you might want to take a look at it.

[SCXML] How to obtain a collection of valid events

2016-05-14 Thread Mansour Al Akeel
Hello all, Based on my understanding, a state machine provides feedback about the input. If the token is not recognized, it should report this. I am prototyping in SCXML, and trying to find a way to find if the supplied event/token is recognized or not. I am unable to find a way to tell. May be