This part of the reference documentation explains the use of state machines together with a sample code and a uml state charts. We do few shortcuts when representing relationship between a state chart, SSM configuration and what an application does with a state machine. For complete examples go and study the samples repository.
Samples are build directly from a main source distribution during a normal build cycle. Samples in this chapter are:
Chapter 30, Turnstile Turnstile.
Chapter 31, Showcase Showcase.
Chapter 32, CD Player CD Player.
Chapter 33, Tasks Tasks.
Chapter 34, Washer Washer.
Chapter 35, Persist Persist.
Chapter 36, Zookeeper Zookeeper.
Chapter 37, Web Web.
Chapter 38, Scope Scope.
Chapter 39, Security Security.
Chapter 40, Event Service Event Service.
Chapter 41, Deploy Deploy.
./gradlew clean build -x test
Every sample is located in its own directory under
spring-statemachine-samples
. Samples are based on spring-boot and
spring-shell and you will find usual boot fat jars under every sample
projects build/libs
directory.
Note | |
---|---|
Filenames for jars we refer in this section are populated during a
build of this document, meaning if you’re building samples from a
master, you have files with |