This should probably be in the users list, not dev. All of that information is available in the PackageDesc object. For example,
DrlParser parser = new DrlParser();
InputStreamReader reader = new InputStreamReader( this.getClass().getResourceAsStream( "Misc3.drl" ) );
PackageDescr pkg = parser .parse( reader );
pkg.getGlobals();
pkg.getRules();
etc.
Hi,
I would like to get all the classes used for Facts in the rules from Package like getting global variable information from package.
Is it possible to have such information?
Regards,
nj
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev