Tus comentarios
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"?
Servicio de atención al cliente por UserEcho
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"?
Servicio de atención al cliente por UserEcho
Have you looked at the builder pattern perhaps?
Google for java builder examples, but youll have something like MyClass.builder().setProperty1().setProperty2().build();