j-easy / easy-rules

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

Add afterEvaluate call also in doCheck method (now triggered only on fire) #377

Open davismol opened 2 years ago

davismol commented 2 years ago

We use The rule engine check method to get a map of Rules and their results. We're able to inject Facts trough a RuleListener calling the beforeEvaluate method. What we would need is to be able to call also the afterEvaluate() method of the Listener, that is not triggered when using check but only when using fire.

dvgaba commented 2 years ago

This is available in below version

io.github.dvgaba easy-rules-core 1.0.5