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:
BAGHDAD Mohamed authored and GitHub committed 2026-08-16 21:47:18 +03:00
1 parent a7000fe61b
commit 5d6ff2f0c4
16 files changed
+1113

No files matched your search

+1
View File
@@ -208,6 +208,7 @@
<module>resource-acquisition-is-initialization</module>
<module>retry</module>
<module>role-object</module>
<module>rule-engine</module>
<module>saga</module>
<module>separated-interface</module>
<module>serialized-entity</module>