You can buy this project and download/modify it how often you want.
Files of the artifact com.ironore.statemachine version 2.0.1 from the group com.ironoreserver.