This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
A simple application to demonstrate implementing KFSM with the classic Turnstile FSM.
./gradlew bootRun
Visit http://localhost:8080/
Start | Event[Guard] | Target | Action |
---|---|---|---|
UNLOCKED |
|||
LOCKED |
COIN |
UNLOCKED |
{
unlock()
} |
UNLOCKED |
PASS |
LOCKED |
{
lock()
} |
UNLOCKED |
COIN |
UNLOCKED |
{
returnCoin()
} |