9 Replies Latest reply on Dec 15, 2008 4:50 PM by Alejandro Guizar

    Fluent interface on Commands

    Bernd Ruecker Master


      After discussing fluent interfaces in jbpm 4 (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146922) I was quite motivated to introduce them in the Commands as well. And when using them, it is really much cooler and more easy to have the return values of the setters. So I can say, I really like to have them :-)

      But the problem is, the signature of the existing Commands have changed by it. So I realized, all client libraries using jbpm have to be recompiled. Not changed, but recompiled against the new jbpm-jpdl.jar, right?

      So this may be a show stopper, or what do you think? I tend to reverse all these changes (even if I will miss them), otherwise migration to new jbpm-jpdl.jar caused to much confusion.

      Opinions? Thomas, what do you say?

      Related jira issue: https://jira.jboss.org/jira/browse/JBPM-1905?