Janne Valkealahti
8d79cb0881
Fix extended state and @OnTransition handling
...
- Add better support for enums with @OnTransition fixes #25
- Add enum handling with extended state fixes #26
2015-03-15 16:43:14 +00:00
Janne Valkealahti
9235345a42
Fix state handling with substates
...
- Fixes #23
- Transition with submachine now exists and enters
super state if transition is external.
2015-03-15 11:15:37 +00:00
Janne Valkealahti
3e5efefc33
Guard against null states
2015-03-14 16:19:32 +00:00
Janne Valkealahti
b9b270bf46
Add TimerTrigger
...
- This fixes #gh21
- New TimerTrigger which can be used to schedule
triggers which then may cause transitions.
2015-03-14 11:01:59 +00:00
Janne Valkealahti
1e3fb04614
Better model for triggers
...
- Harmonise how triggers are used
- Now using a trigger context
- Creates a better model so that we add
more trigger types.
2015-03-14 08:20:02 +00:00
Janne Valkealahti
8908a2f19b
Fix missing transitions for top level machine
2015-03-09 11:43:05 +00:00
Janne Valkealahti
e01c5f28c2
Temporary fixes for submachines and regions
2015-03-09 11:42:55 +00:00
Janne Valkealahti
c2d106c617
Tweak how annotation processor is enabled
...
- StateMachineAnnotationPostProcessor is now in its own
StateMachineAnnotationPostProcessorConfiguration which gets
imported automatically from @EnableStateMachine.
2015-03-08 09:19:13 +00:00
Janne Valkealahti
fe0f7ebb95
Add complex showcase sm sample
2015-03-07 19:23:40 +00:00
Janne Valkealahti
5bdf642005
fix mixups in submachines
2015-03-07 17:51:20 +00:00
Janne Valkealahti
8cf896b49c
Fix css warning
2015-03-07 15:20:03 +00:00
Janne Valkealahti
b30ad73e00
Fixes for annotation method handling
...
- adding generics
- tidy up annotation handling for methods
- add EventHeaders annotation
2015-03-07 15:15:46 +00:00
Janne Valkealahti
ed81b1b578
Updates to docs
2015-03-06 15:01:23 +00:00
Janne Valkealahti
de848cda20
Event publish and listener changes
2015-03-01 17:52:54 +00:00
Janne Valkealahti
2ceca88e6a
Region fixes
2015-02-28 17:02:53 +00:00
Janne Valkealahti
714b8131ff
Submachine doesn't work with states on a same level
...
- resolves #20
- create correct state type when substate mixed with
normal states.
2015-02-22 16:01:55 +00:00
Janne Valkealahti
ee2f7b2eb6
Add hierarchical event processing
...
- resolves #19
- add base support for handling events in a submachines
2015-02-22 15:34:10 +00:00
Janne Valkealahti
e6677f19c5
Better config model for substates
...
- streamline state model between config and state machine factory.
- remove SubStateConfigurer and just use StateConfigurer.
2015-02-21 15:48:07 +00:00
Janne Valkealahti
a98e50247d
Tweak annotation config concepts
2015-02-17 09:31:14 +00:00
Janne Valkealahti
e8b5b3d86a
Tune up action generics
...
- change so that pass TestEntryAction instead of its
super interface Action<TestStates, TestEvents>. Doesn't
really matter but makes it much prettier from
user point of view.
2015-02-15 18:14:32 +00:00
Janne Valkealahti
be2709e962
Prepare better docs structure
2015-02-15 16:29:53 +00:00
Janne Valkealahti
cd93fb69cf
Add configuration model for submachines
...
- some cleaning
- refactoring some state concepts to have a better
support for submachines
2015-02-15 15:36:33 +00:00
Janne Valkealahti
d9b72b2e9a
Fix mixup of builder configurers
2015-02-13 08:43:46 +00:00
Janne Valkealahti
25c34a3f7b
Events not send to regions
...
- refactor event processing around state
interfaces order to pass event from a state
machine into a regions.
2015-02-12 10:37:54 +00:00
Janne Valkealahti
12e23debb4
RegionState doesn't process exit/entry actions
2015-02-12 07:59:36 +00:00
Janne Valkealahti
b8f5320e38
Base support for local transitions
...
- resolves #5
- big conceptual changes to how sub-machines are handled
order to get events working with a multi-level sub states.
- added more typing throughout few interfaces to properly
pass in state context via action axecution chain.
this type change effectively caused change to most of the
classes but not that much functional change of behaviour.
- cleaning and tidy up
2015-02-11 13:36:52 +00:00
Janne Valkealahti
250f99a1ae
Add base support for app context event
...
- tidy up how listener event is sent together
with app context events.
- resolves #12
2015-02-08 09:58:36 +00:00
Janne Valkealahti
8a468b367b
Fix typo
2015-02-08 08:39:52 +00:00
Janne Valkealahti
49b0d1b8c1
Add base support for end/final state
...
- resolves #9
2015-02-08 08:32:31 +00:00
Janne Valkealahti
0bcb69d7fe
Update readme
2015-02-07 18:20:58 +00:00
Janne Valkealahti
c6eee54dbc
Base support for submachines and regions
...
- resolves issues #2 and #4
- refactor states so that we can use submachines
and regions to compose a state.
- refactor some concepts around StateMachine now that
it extends Region.
2015-02-07 18:03:48 +00:00
Janne Valkealahti
b6a62b2509
Add base support for pseudostates
...
- resolves #3 by adding base pseudostate support
for initial state.
- doesn't yet provide full support for any other
pseudostate expect initial.
- Also added initial event which is used when
statemachine starts and activates initial state.
2015-02-05 14:30:29 +00:00
Janne Valkealahti
48c65fd9ac
initial import
2015-02-04 18:17:50 +00:00
Janne Valkealahti
ded18f863f
setup repo
2015-02-04 17:26:12 +00:00