There is a full api that let you instantiate and manipulate declared types in Java code: http://docs.jboss.org/drools/release/5.4.0.Beta1/drools-expert-docs/html_single/index.html#d0e3750
Ok laune, but I would like to create this objects inside a junit test (so in
a method defined in a *.java file), not from the drl itself. Were you
suggesting a workaround?
--
MM
laune wrote
>--
> I've found that creating objects and facts from DRL-declared classes is
> easily done in DRL, in RHS code.
> -W
>
View this message in context: http://drools.46999.n3.nabble.com/Instantiate-fact-class-declared-only-in-drl-tp3644780p3644822.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users