<br> Hey Dirk,<br><br> Yes, documentation still needs to be updated.<br><br> About "intersects" :), you can open a JIRA for it, but last word I have from Mark is that there is no time left for new features in
4.0 besides what was already committed. So, if users want this, the options are:<br><br>* either a community contributor jumps in and implements it (quite simple, just looking at what we did for "contains")<br>* or a paying customer requests the feature
<br><br> I still have that "collect( from )" feature you asked for to implement, but we have a huge amount of work to do still for 4.0. We will do our best, but right now, can't make any promises.<br><br>
Regards,<br> Edson <br><br><div><span class="gmail_quote">2007/5/30, Dirk Bergstrom <<a href="mailto:dirk@juniper.net">dirk@juniper.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Edson Tirelli was heard to exclaim, On 05/29/07 17:13:<br>> $badBugs : List() from<br>> collect( Bug( (devOwner memberOf $group || supportOwner memberOf $group),<br>> severity == "hair-on-fire" )
<br>> And use || and && for connecting constraints<br>> and "and" and "or" for connecting CE's.<br><br>Ahh, ok. From the examples I'd seen, it was hard to tell, and the docs still
<br>show the two as equivalent for connecting CEs (section 3.15).<br><br>This will allow me to replace an ugly predicate hack with a clunky but workable<br>parenthetical grouping. Of course, if you'd care to implement yet another handy
<br>Collections-based constraint, I could make it really clean:<br><br>We've got "contains", and now "memberOf" (thanks for implementing my<br>suggestion), so how about "intersects"?<br><br>
CheeseCounter( stinkyCheeses intersects crumblyCheeses )<br><br>Then I could write my rule like so:<br><br>collect( Bug( (owners intersects $group), ...<br><br>This would save me from having to edit ten or twenty rules when management
<br>inevitably decides that another kind of owner has to be included in the rules --<br>there are actually five "owners" now (which makes for a very ugly parenthetical).<br><br>Can I file a jira for "intersects", or should I quit being greedy, and enjoy the
<br>shiny new "memberOf" that I am in fact very happy about? :)<br><br>--<br>Dirk Bergstrom <a href="mailto:dirk@juniper.net">dirk@juniper.net</a><br>_____________________________________________<br>
Juniper Networks Inc., Computer Geek<br>Tel: 408.745.3182 Fax: 408.745.8905<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli
<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>