mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 22:14:41 +00:00
feat: add rule engine design pattern (#3548)
Add an educational rule-engine module demonstrating the Rule Engine pattern. Each business rule is an independent object exposing evaluate (decision) and execute (action); a RuleEngine evaluates a collection of rules against an immutable loan-application context in insertion order, runs the passing rules, and reports every passed and failed rule via an immutable RuleEngineResult. Includes three concrete rules, an App demo, unit tests, README, and class diagram.
This commit is contained in:
1 parent
a7000fe61b
commit
5d6ff2f0c4
16 files changed
+1113
No files matched your search
Reference in new issue
Block a user