java-design-patterns
java-design-patterns copied to clipboard
Issue#1219 Rule Engine Design Pattern Implemented
-
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.
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.
Closed due to inactivity. Thank you for your contributions.