[rules-users] Fusion : must declare @role(event) for all class hierarchy ?

Edson Tirelli ed.tirelli at gmail.com
Mon Nov 14 14:09:34 EST 2011


   Vincent,

   Fact types are supposed to inherit the @role of their parent classes, so
if you define the parent class/interface as an event, all subclasses will
inherit the event role. If it is not working like this, it is a bug, but I
am pretty sure we have tests for it. Please open a JIRA and provide a test
case to reproduce the behavior otherwise.

   Thank you,
       Edson

2011/11/14 Vincent LEGENDRE <vincent.legendre at eurodecision.com>

> Hi all
>
> We are using Fusion to make some simplification and grouping on some
> events.
> We have several classes of events, all derivated from a top-level class.
>
> With fusion version 5.3 (and 5.2 too), we must declare the @role(event)
> for the top-level class, *but also for all its classes hierarchy*, ie the
> role is not inherited by subclasses.
>
> Is it done and purpose ?
> Is it a bug ?
>
> Thanks.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111114/4ff76113/attachment.html 


More information about the rules-users mailing list