-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check Rules feature #40
Comments
Hi @thecederick Thank you for these suggestions!
Good idea indeed. This will allow the user to do some kind of "simulation" before firing rules. I've added a method
You can already do this:
That was the case in the early stages of the project. We've got a separate concepts for Kind regards |
Hi, Thanks for the quick response!
Looks pretty good for me)
It is not always possible do it like you described, for example Thank you for your project, hope to use it soon! |
Hi, I've merged in the master branch the addition of the In regards to the Kind regards |
Hi guys,
I found yours project very interesting for me, but I have some suggestions for you.
boolean allRulesApplicable = ruleEngine.checkRules();
Or return some rules result which can contain simple map (String, Boolean), where key is a Rule name and values is a "evaluate" method result. "fireRules" should return
boolean
or rules status.(RuleA and RuleB) or RuleC
P.S. It is possible that I understand project use cases wrong :)
Thanks in advance.
The text was updated successfully, but these errors were encountered: