<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Manukyan, Sergey wrote:
<blockquote
cite="mid:4E03EDD62CB1CB4599E6BD71DBEDFD2002B5A02D@usmitry-exm1.corp.lear.com"
type="cite">
<pre wrap="">By the way, I see value of the AgendaFilter to be eliminated and use
instead Predicate interface from apache commons collections:
<a class="moz-txt-link-freetext" href="http://commons.apache.org/collections/apidocs/org/apache/commons/collect">http://commons.apache.org/collections/apidocs/org/apache/commons/collect</a>
ions/Predicate.html
as the API that supports Predicate logic is pretty rich and afford
creation of complex predicates using PredicateUtils :
<a class="moz-txt-link-freetext" href="http://commons.apache.org/collections/apidocs/org/apache/commons/collect">http://commons.apache.org/collections/apidocs/org/apache/commons/collect</a>
ions/PredicateUtils.html
just my 2 cents ;)
</pre>
</blockquote>
People don't like dependencies, you can easily implement AgendaFilter
using commons Predicate - would make a good article for an aspiring
user :)<br>
<blockquote
cite="mid:4E03EDD62CB1CB4599E6BD71DBEDFD2002B5A02D@usmitry-exm1.corp.lear.com"
type="cite">
<pre wrap="">
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] 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:
</pre>
<blockquote type="cite">
<pre wrap="">Manukyan, Sergey wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Kris,
It looks like whatever name I choose for *RuleNameEqualsAgendaFilter
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->-
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">*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
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->sure
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">that "*rule name*" - is NOT fired? Or makes sure it IS fired?
</pre>
</blockquote>
<pre wrap="">Read the docs and if you still aren't sure try it. Beats sitting and
waiting on here for an answer :)
</pre>
</blockquote>
<pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
**********************
** 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
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>