[rules-users] firing specific rule

Mark Proctor mproctor at codehaus.org
Thu Oct 18 18:06:28 EDT 2007


Manukyan, Sergey wrote:
> By the way, I see value of the AgendaFilter to be eliminated and use
> instead Predicate interface from apache commons collections:
>
> http://commons.apache.org/collections/apidocs/org/apache/commons/collect
> ions/Predicate.html
>
> as the API that supports Predicate logic is pretty rich and afford
> creation of complex predicates using PredicateUtils :
>
> http://commons.apache.org/collections/apidocs/org/apache/commons/collect
> ions/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 :)
>
>
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Scott Reed
> Sent: Thursday, October 18, 2007 12:57 PM
> To: Rules Users List
> Subject: 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 to 
>>> fire or some bogus name, just the fact that I am using it - make all 
>>> rules 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 and 
>> waiting on here for an answer :)
>>     
>
> I know the documentation is not clear. I think it would be helpful to
> fix this so it's clear which 
> way the filtering works, either by documenting it clearly or by changing
> the method name?
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://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 list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071018/84b8f85f/attachment.html 


More information about the rules-users mailing list