Welcome to the new site! After several months and several [very distinct] iterations of the layout, I am happy to publish this clean new look for 2013. No PHP, no AJAX, just a simple, responsive, readable design.
Another old project. This one is from 12-23-2010, originally intended for the 0.2 release of UQC Lib, which I now think will be more useful split up into smaller, discrete parts.
Enum State Machine is a simple state machine built in Java and using enums to define the various states. In addition to controlling the possible transitions, callbacks can be added between states or on entering and exiting a state.
Simple, clean, and provides a great, thread-safe way of controlling the flow of a process between various states. Check out the project page for more information.
Be sure to read the original blog post for the background of the project if you have not already.
Please feel free to use the integrated GitHub issue tracker to report any problems. I know that some users have experienced some sluggish responses at least, but I have had a hard time reproducing anything.
In a previous post, Using Generics To Build Fluent API’s In Java, I detailed a way to create type-safe fluent API’s using generics. Handy, but unfortunately the process can be somewhat tedious. Any project wishing to utilize a builder must carefully hand-code the various classes and interfaces. Modifications made later are oftentimes painful to implement.