A tiny Finite State Machine for Java, partially inspired by Erlang/OTP's gen_fsm.