[rules-users] Is there a "extends" for the "declare" of a new type?

Wolfgang Laun wolfgang.laun at gmail.com
Sat May 28 05:10:21 EDT 2011


There is, since 5.2.0, the option of extending a class declared in DRL:

declare A
   i : int
end

declare B extends A
  ...
end

Any class origninating from Java code cannot be extended  in DRL.

-W


On 28 May 2011 10:56, Tomas Olsson <tol at sics.se> wrote:

> Hi,
> I have tried to look this up but cannot find any clear answer on the web.
> Does drools support extension of existing classes for new type
> declarations?
> That would be very nice if this would be possible.
>
> /Tomas
> _______________________________________________
> 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/20110528/5d8351f4/attachment.html 


More information about the rules-users mailing list