Part V. State Machine Examples

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 25, Turnstile Turnstile.

Chapter 26, Showcase Showcase.

Chapter 27, CD Player CD Player.

Chapter 28, Tasks Tasks.

Chapter 29, Washer Washer.

Chapter 30, Persist Persist.

Chapter 31, Zookeeper Zookeeper.

Chapter 32, Web Web.

./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.