I'm not certain that there's official documentation on this, but it looks like the feature has existed since 5.0.0:
The associated check-in to add the feature is also here:
https://github.com/droolsjbpm/drools/commit/9f0498ecaa118cf78a9760ab84056d4435b42d8b
I haven't worked extensively with it, but I believe that the extends keyword will join the LHS of the super rule with the LHS of the extended rule, further narrowing the criteria. From what I understand of the unit tests, the RHS of the child rule only is executed (though the RHS of the parent rule may execute anyway assuming the parent rule is enabled).
The unit tests for this feature are available here:
--
Build Smarter Software.
Spantree Technology Group, LLC
On Thursday, September 27, 2012 at 12:02 AM, Ming Fang wrote:
Where can I find documentation on extending rules using the 'extends' keyword?
The official documentation doesn't even list that as a keyword.
_______________________________________________
rules-users mailing list