<div dir="ltr"><br><div> Matt,</div><div><br></div><div> Accumulate functions can now be imported as described in the documentation:</div><div><br></div><div><a href="http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/index.html">http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/index.html</a> (search for "import accumulate")<br>
</div><div><br></div><div> AFAIK, there are no changes on how evaluators are used in Drools 6.0, but we do want to make them simpler to use, so we might also add an import-like statement as we did for accumulate functions in the future. </div>
<div><br></div><div> Edson</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 12:04 PM, mattmadhavan <span dir="ltr"><<a href="mailto:mmadhavan@facs.org" target="_blank">mmadhavan@facs.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
Recently I read/cam across couple of posts regarding Custom operators and<br>
Accumulators in Drools 6.x.<br>
<br>
I seems that I can import them as functions and use them directly without<br>
having to declare them in the configurationBuilder etc.<br>
<br>
Can some on Elaborate on this one please?<br>
<br>
Do I still extend the Evaluator class? Is there any syntax changes?<br>
<br>
Thanks in advance!<br>
<br>
Matt'M<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543.html" target="_blank">http://drools.46999.n3.nabble.com/Drools-6-x-and-Custom-Operators-Evaluators-and-Accumulators-Using-them-as-regular-functions-tp4028543.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> Edson Tirelli<br> Principal Software Engineer <div> Red Hat Business Systems and Intelligence Group<br><br></div></div>
</div>