- Original preStateChange and postStateChange are now deprecated
and once those are removed we don't need to do calls to both
in StateMachineInterceptorList.
- Relates to #871
- As it's currently expected that pre/post interceptor are called
for both preStateChange and postStateChange, fix
AbstractPersistingStateMachineInterceptor so that actual persist
doesn't happen twice.
- Eventually original preStateChange and postStateChange methods
will get removed after deprecation(which should have happened
a long time ago).
- Forwared port #871
- With this change, Eclipselink support is added to SSM.
To do this, table names are modified and some primitive
types are changed to object types.
- Edited import class types.
- Relates #833
- Relates #834
- Now starting machine outside of a sycn block with
acquire vs. release. This should allow long running
start in a machine to allow next acquire to work faster.
- Fixes#770
- In a case where fork/join happens within a substate we should not exit parent state
which causes cascading stops for forked regions thus causing inconsistent lifecycle
states within that kind of a machine structure. This for example caused parent submachine
to end up stopped and all regions running even if some regions ended up into terminal state.
- Fixes#737
- This is fixing some issues where anonymous transitions
are causing post state call to happen too early i.e.
with a submachine which transits away from it.
- Fixes#734
- In a case where uml is drawn with submachine references where
a pseudostate like choice is defined in a reference, UmlModelParser
needs to find possible parent by following machine/state references
to match a state name which references to a this particular machine.
- Actual bug was because pseudostate parent wasn't found it became null,
thus causing it to be defined in a root machine which then caused
other cascading errors like nasty loop shown in #729.
- Fixes#729
I updated the build to use spring-doc-resources, which gives us the modern look and feel for the HTML output. Unfortunately, we lose the epub output (until the Asciidoctor team gets that fixed).
I edited for spelling, punctuation, grammar, usage, and corporate voice. I also added leader sentences before all the images and code listings and rewrote for clarity.
- Add tests between old serialised context(write) and new context(write)
- Fix setting childRefs to empty array instead of null if childRefs
are not given.
- In JoinPseudoState join states are tracked as list of lists
where usually inner list contains one item except with region
having multiple end states.
- Now fixing this case when resetting when previously completed
region don't clear this list out from outer list.
- Fixes#684
- Due to a regression when new preStateChange method were
added to pass on root machine, old method did not get
called anymore. Now calling that as well and fixing
some other things around it.
- Same changes for postStateChange.
- Fixes#633