this is a simple workflow designer write by java.