Manukyan, Sergey wrote:
By the way, I see value of the AgendaFilter to be eliminated and useinstead Predicate interface from apache commons collections: http://commons.apache.org/collections/apidocs/org/apache/commons/collections/Predicate.html as the API that supports Predicate logic is pretty rich and affordcreation of complex predicates using PredicateUtils : http://commons.apache.org/collections/apidocs/org/apache/commons/collections/PredicateUtils.html just my 2 cents ;)
People don't
like dependencies, you can easily implement AgendaFilter using commons
Predicate - would make a good article for an aspiring user :)
Good point. It just is a bit confusing at first. How about renaming it from AgendaFilter to ActivationFilter, as it actually deals with Activations, not Agendas…?
-----Original Message-----From: rules-users-bounces@lists.jboss.org[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Scott ReedSent: Thursday, October 18, 2007 12:57 PMTo: Rules Users ListSubject: Re: [rules-users] firing specific rule Mark Proctor's message received 10/18/2007 12:07 PM:
Manukyan, Sergey wrote:Kris,It looks like whatever name I choose for *RuleNameEqualsAgendaFilter
-
*it doesn't fire any rules. It may be the name of my rule I want tofire or some bogus name, just the fact that I am using it - make allrules not fire.By the way the *RuleNameEqualsAgendaFilter("rule name") - *makes
sure
that "*rule name*" - is NOT fired? Or makes sure it IS fired?Read the docs and if you still aren't sure try it. Beats sitting andwaiting on here for an answer :)
I know the documentation is not clear. I think it would be helpful tofix this so it's clear which way the filtering works, either by documenting it clearly or by changingthe method name?_______________________________________________rules-users mailing listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users ************************ LEGAL DISCLAIMER ************************ This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s),or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. _______________________________________________rules-users mailing listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users