A small Java tool which provides simple state machine semantics using enums.