java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

Issue#1219 Rule Engine Design Pattern Implemented

Open u7076185 opened this issue 2 years ago • 2 comments

  • Resolves issue Rule Engine Design Pattern #1219

  • The idea of the pattern looks as follows: The Rules Pattern works by separating the rules from the rules processing logic (applying the Single Responsibility Principle). This makes it easy to add new rules without changing the rest of the system (applying the Open/Closed Principle). With this in mind, we implement the pattern by having an imaginary country that has an immigration policy with multiple criteria. We create a separate class for each criterion to implement the pattern to calculate the candidate's immigration score.

  • A directory called Rule Engine Design Pattern has been added to present the implementation of the pattern, built based on the instruction https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute.

u7076185 avatar Oct 28 '22 09:10 u7076185

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Dec 05 '22 16:12 stale[bot]

Closed due to inactivity. Thank you for your contributions.

stale[bot] avatar Jan 19 '23 16:01 stale[bot]