[rules-users] how to check if a global has been declared in a rule

Michael Anstis michael.anstis at gmail.com
Wed Feb 9 15:30:51 EST 2011


Mark, Edson, (Wolfgang?)

Any public API to ascertain whether a DRL package needs a global to be
inserted?

E.G. a DRL has global defined within it, the DRL is loaded into a
KnowledgePackage, can you introspect the package to find out if it contains
a global, it's datatype and name?

With kind regards,

Mike

On 9 February 2011 17:10, gs76pl <gstasica at pacemetrics.com> wrote:

>
> yeah,,, thats exactly what i need
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/how-to-check-if-a-global-has-been-declared-in-a-rule-tp2459143p2459883.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110209/c935effc/attachment.html 


More information about the rules-users mailing list