https://springref.com/docs/spring-statemachine