Am 28.05.2011 18:26, schrieb Edson Tirelli:
>
>    Wolfgang,
>
>    I think Davide's implementation supports extending existing java
> classes... did you tried? What is not possible is to implement
> interfaces, since you can't define methods in the declare statement.
Hi,

from a user's point of view, who has been using Drools Expert in
production for years now, I'm wondering why there aren't *unit tests*
which are capable of answering this basic question in no time?

If test coverage is as low as it seems, can you recommend using Drools
Expert in production with a clear conscience?

Best regards

Ansgar
(the heretic ;-)

>
>    Edson
>
> 2011/5/28 Wolfgang Laun <wolfgang.l...@gmail.com
> <mailto:wolfgang.l...@gmail.com>>
>
>     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 <t...@sics.se
>     <mailto:t...@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@lists.jboss.org <mailto:rules-users@lists.jboss.org>
>         https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>     _______________________________________________
>     rules-users mailing list
>     rules-users@lists.jboss.org <mailto:rules-users@lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
> -- 
>   Edson Tirelli
>   JBoss Drools Core Development
>   JBoss by Red Hat @ www.jboss.com <http://www.jboss.com>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to