[windup-dev] Iteration using Java's for?
Ondrej Zizka
ozizka at redhat.com
Fri Jul 25 13:26:30 EDT 2014
Hi,
is there a reason against querying the graph, storing it to Java
variable, iterating it using for( Foo foo : foos ), and skipping the
varstack and when() etc?
Basically, the current rules structure is appropriate for e.g. XML based
rules whose XSD would translate to this structure, but if we provide
Java and Groovy, the above way would be shorter to write, and users
might tend to do that.
Thanks,
Ondra
More information about the windup-dev
mailing list