4 Replies Latest reply on Jun 15, 2009 3:39 AM by Tom Baeyens

    Fluent programming on Commands

    Bernd Ruecker Master

      In jbpm 3 I introduced some "fluent" programming capabilities on Commands, so that you can write:

       new StartProcessInstanceCmd()
       .addVariable("x", 5)

      What do you think, can we introduce that again? Was very handy for coding!

      Shall we again have an extra method for it or just let the setters return the object itself (which would be possible if we do it before the first release I guess)?