You're absolutely right, I could just call take() and see if it throws an exception.
That approach would be simpler than the one I suggested. Thanks for pointing it out.
So to summarize, it looks like the Execution interface does provide a way to see if a
transition is valid (i.e. call take and see if it throws an exception). On the other hand,
to get the list of valid transitions one must use the underlying implementation classes
(ExecutionImpl, etc.).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261274#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...