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. SCXMLSemantics is not exposed to
applications from the execution context.

Regards,

Woonsan


On Sat, May 14, 2016 at 9:19 AM, Mansour Al Akeel
<mansour.alak...@gmail.com> wrote:
> 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 someone else had luck with this, and can share the way
> with me.
>
> So my question is, I am working in an AbstractStateMachine, and I have
> an instance of SCXMLExcutor obtained from getEngine(). How can I find
> the valid inputs ??
>
>
> Thank you
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to