j-easy / easy-rules

The simple, stupid rules engine for Java
https://github.com/j-easy/easy-rules/wiki
MIT License
4.83k stars 1.04k forks source link

Fix to Issue #377 - Added triggerListenersAfterEvaluate call in DefaultRuleEngine check #380

Open davismol opened 2 years ago

davismol commented 2 years ago

Added trigger triggerListenersAfterEvaluate after every rules evaluation in doCheck method. At the moment it was just called in fire method so, we were not able for example to remove a Fact after rules evaluation when using the check method. Added related unit test in RuleListenerTest.

davismol commented 2 years ago

Hi @benas , any chance to get this request evaluated?