In jbpm 3 I introduced some "fluent" programming capabilities on Commands, so
that you can write:
| commandService.execute(
| new StartProcessInstanceCmd()
| .processDefinitionId(5)
| .addVariable("x", 5)
| .executionKey("88"));
|
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)?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236651#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...