<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Am 28.05.2011 18:26, schrieb Edson Tirelli:
<blockquote
cite="mid:BANLkTi=aWKWH8+zSxmJNCK+0vEiNCunCzg@mail.gmail.com"
type="cite">
<div><br>
</div>
Wolfgang,
<div><br>
</div>
<div> 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.</div>
</blockquote>
Hi,<br>
<br>
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?<br>
<br>
If test coverage is as low as it seems, can you recommend using
Drools Expert in production with a clear conscience?<br>
<br>
Best regards<br>
<br>
Ansgar<br>
(the heretic ;-)<br>
<br>
<blockquote
cite="mid:BANLkTi=aWKWH8+zSxmJNCK+0vEiNCunCzg@mail.gmail.com"
type="cite">
<div><br>
</div>
<div> Edson<br>
<br>
<div class="gmail_quote">2011/5/28 Wolfgang Laun <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
There is, since 5.2.0, the option of extending a class
declared in DRL:<br>
<br>
declare A<br>
i : int <br>
end<br>
<br>
declare B extends A<br>
...<br>
end<br>
<br>
Any class origninating from Java code cannot be extended in
DRL.<br>
<font color="#888888">
<br>
-W</font>
<div>
<div class="h5"><br>
<br>
<br>
<div class="gmail_quote">On 28 May 2011 10:56, Tomas
Olsson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tol@sics.se" target="_blank">tol@sics.se</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left:
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt
0.8ex; padding-left: 1ex;">
Hi,<br>
I have tried to look this up but cannot find any
clear answer on the web.<br>
Does drools support extension of existing classes
for new type declarations?<br>
That would be very nice if this would be possible.<br>
<br>
/Tomas<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org"
target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss by Red Hat @ <a moz-do-not-send="true"
href="http://www.jboss.com">www.jboss.com</a><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>