[rules-users] Any API accessing to the rule logic instead of only Facts

Sean Su sean.x.su at gmail.com
Mon Jul 29 13:31:32 EDT 2013


Does anyone know a public Drools API that we can use to access to the
actual rule logic in a structured way? Current we can use
AgendaEventListener and WorkingMemoryEventListener to access the facts
using in LHS and the objects used in RHS. But my project has some special
requirements which need to access the actual rule logic on LHS for auditing
and justification purpose.

For example, if a rule is like this:

when fact.list contains "123"
then do something.

When this rule is fired, not only do I need to know what the fact object
is, I also need to know the condition of this rule is involved a "contains"
API, with value "123".

Thanks in advance.

Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130729/96bd0db3/attachment.html 


More information about the rules-users mailing list