[windup-dev] Iteration using Java's for?
Ondrej Zizka
ozizka at redhat.com
Fri Jul 25 13:28:31 EDT 2014
Subquestions:
Do we want to / can we restrict the Groovy DSL syntax anyhow?
Will we aim for alternative XML-based rules which would translate to the
API?
On 25.7.2014 19:26, Ondrej Zizka wrote:
> 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
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
More information about the windup-dev
mailing list