References
- https://docs.spring.io/spring-statemachine/docs/4.0.0/reference/index.html
- https://www.baeldung.com/spring-state-machine
- Need to override configure functions of EnumStateMachineConfigurerAdapter
public void configure(StateMachineStateConfigurer<States, Events> states)
→ define states to usepublic void configure(StateMachineTransitionConfigurer<States, Events> transitions)
→ define transitions from a state to another