Ваши комментарии

Have you looked at the builder pattern perhaps? 

Google for java builder examples, but youll have something like MyClass.builder().setProperty1().setProperty2().build();

if not each condition is implementation of an interface as per strategy pattern perhaps?

is there any overlap in the behavior of the "do somethings"?



Сервис поддержки клиентов работает на платформе UserEcho