[rules-users] Coding up an "intersects" operator

Edson Tirelli tirelli at post.com
Mon Feb 4 07:22:19 EST 2008


   Dirk,

   If you are using trunk, look at the interface EvaluatorDefinition as your
entry point. All you need to do is to create an implementation for it. This
is part of the pluggable evaluators framework I'm working on. The only part
that is not pluggable yet is the parser, but once you are done with your
implementation, I can fix the parser for you in a couple minutes.
   Join the IRC and talk to me and I can guide you.

   If you are using older versions of Drools (not trunk) things will be a
lot more complicated. :(

   []s
   Edson

2008/2/4, Dirk Bergstrom <dirk at juniper.net>:
>
> It looks like I'm going to need to implement the "intersects" operator for
> a
> project I'm working on.  As in "Does this collection share at least one
> element
> with that collection".
>
> Unfortunately, I'm going to need it in about two weeks.  Too bad I didn't
> plan
> ahead...
>
> So, if anyone can send me some pointers on where in the code I should be
> looking, I'd be very grateful.  I don't think it will be particularly
> difficult
> to write the actual code, but I'm worried that I'll never be able to
> figure out
> all the places in the codebase that I have to touch.
>
> A ways back, Edson said that I could use the work on "contains" as a
> model; is
> there a single subversion commit that lists all the files affected by
> that?
>
> Thanks.
>
> --
> Dirk Bergstrom               dirk at juniper.net
> _____________________________________________
> Juniper Networks Inc.,          Computer Geek
> Tel: 408.745.3182           Fax: 408.745.8905
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
  Edson Tirelli
  JBoss Drools Core Development
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080204/17765092/attachment.html 


More information about the rules-users mailing list