Commit Graph

158 Commits (6de08b45a9f39bb240b563e72ad58afa93400ee6)

Author SHA1 Message Date
Mahmoud Ben Hassine fd3f158889 add space between parameter name and value in toString method 7 years ago
Mahmoud Ben Hassine 4ff3f90705 issue #119: Add separate concepts for conditions and actions 7 years ago
Mahmoud Ben Hassine ca5eb83923 rename method apply to doFire 7 years ago
Mahmoud Ben Hassine 6b726e079e issue #121 : extract logging in a default RulesEngineListener 7 years ago
Mahmoud Ben Hassine 40b456b670 issue #121 : apply the RulesEngineListener to check method 7 years ago
Mahmoud Ben Hassine 14fe227c82 issue #121 : rename methods in RulesEngineListener to be consistent with RuleListener 7 years ago
Mahmoud Ben Hassine 4d2dad6147 issue #121: Add RulesEngineListener 7 years ago
Mahmoud Ben Hassine fdb01582ad issue #123: Make Facts#get method cast friendly 7 years ago
Mahmoud Ben Hassine baee0735f8 add note about usage of rules engine parameters 7 years ago
Mahmoud Ben Hassine 2e76b0b776 add log when no candidate rules are found 7 years ago
Mahmoud Ben Hassine e7d3705320 add javadoc 7 years ago
Mahmoud Ben Hassine 40e46172eb make inference rules engine final 7 years ago
Mahmoud Ben Hassine 7689e3a14d issue #88 : add InferenceRulesEngine implementation 7 years ago
Mahmoud Ben Hassine 0267ba397c issue #112 : update javadoc to mention that client code should handle runtime exceptions 7 years ago
Mahmoud Ben Hassine a9390c9217 use single quote to log values.
Double quotes were inherited from JUL log syntax
7 years ago
Mahmoud Ben Hassine 4b7ed47da3 use String.valueOf to log facts values 7 years ago
Mahmoud Ben Hassine 22cf89b73c issue #118 : use toString to log engine parameters 7 years ago
Mahmoud Ben Hassine 2505d8ac22 issue #89 : remove skipOnMissingFact parameter
When a fact is missing, the rule should not be triggered
7 years ago
Mahmoud Ben Hassine b228a87578 add slf4j-simple dependency 7 years ago
David Belmez Vicente a074f93e10 [slf4j]: Use SLF4J (#114)
Use SLF4J instead of JUL
7 years ago
wg1j a342bc26ad Remove unnecessary method and interface (#111)
* remove unnecessary Comparable interface

* remove sort from Rules API

* fix creating Rules with a Set
7 years ago
wg1j db6438350c Override equals()/hashCode()/toString() same as BasicRule (#115)
* override equals()/hashCode()/toString() same as BasicRule

* replace if with switch
7 years ago
David Belmez Vicente 31eee54ae7 [subFacts]: Conditions or Actions can have subclass of Facts as parameter (#104)
* [subFacts]: Conditions or Actions can have subclass of Facts as parameter

* [subFacts]: Added to contributor list :)
8 years ago
wg1j 1170ef9ed9 replace `Utils.getInterfaces` with `instanceof` (#98)
replace `Utils.getInterfaces` with `instanceof`
8 years ago
wg1j eabb56042f improve the Facts api (#95) 8 years ago
wg1j d58a258f35 A little optimization in RuleProxy.java (#94)
lazy-init names + convert Integer to int
8 years ago
Mahmoud Ben Hassine 527f4fb6b4 update development version to 3.1.0-SNAPSHOT 8 years ago
Mahmoud Ben Hassine 6661401c60 issue #89 : add skipOnMissingFact parameter 8 years ago
Mahmoud Ben Hassine bb92448873 add public constructor with rules engine parameters 8 years ago
Mahmoud Ben Hassine f50eebb646 remove deprecated APIs 8 years ago
Mahmoud Ben Hassine 79b131cffb [maven-release-plugin] prepare for next development iteration 8 years ago
Mahmoud Ben Hassine 1184d25b14 [maven-release-plugin] prepare release easy-rules-3.0.0 8 years ago
Mahmoud Ben Hassine b6415aa9a6 fix issue when condition/action method have more than one parameter annotated with @Fact 8 years ago
Mahmoud Ben Hassine 39d9ec1021 add fact injection test 8 years ago
Mahmoud Ben Hassine 45aec6d238 add sanity checks 8 years ago
Mahmoud Ben Hassine 423c704644 issue #83 : add Facts.put method and deprecate Facts.add method 8 years ago
Mahmoud Ben Hassine 641f10938a refactor tests 8 years ago
Mahmoud Ben Hassine 05c0cac5b5 move cobertura plugin to core module. Tutorials should not be included in test coverage 8 years ago
Mahmoud Ben Hassine f37546c367 issue #82 : fix NPE in default engine when a fact is null 8 years ago
Mahmoud Ben Hassine 1c41701599 add license header 8 years ago
Mahmoud Ben Hassine b3821ef271 add method to unregister rule by name ( issue 64 ) 8 years ago
Mahmoud Ben Hassine 65f65e310d add Rules tests 8 years ago
Mahmoud Ben Hassine 669cbcfeac add Facts tests 8 years ago
Mahmoud Ben Hassine 9124cdddc3 handle IllegalArgumentException when fact type does not match parameter type 8 years ago
Mahmoud Ben Hassine 90ec13b00a add a check on the return type of action method which should be void 8 years ago
Mahmoud Ben Hassine 1e8505ec52 rename test classes 8 years ago
Mahmoud Ben Hassine 35b786509d update javadoc 8 years ago
Mahmoud Ben Hassine 37d7bb8f93 move license header plugin to core module 8 years ago
Caglar Gonul 1d7cd95b4f use Java 7 APIs to get parameter annotations 8 years ago
Mahmoud Ben Hassine bbd966a3c5 remove unused logger 8 years ago
Mahmoud Ben Hassine 4dc81633ea remove EasyRulesTestSuite 8 years ago
Mahmoud Ben Hassine 38f13307fc add DefaultRuleListener for logging 8 years ago
Mahmoud Ben Hassine 9bf056444d split method log to do one thing 8 years ago
Mahmoud Ben Hassine 676f81b2b3 move engine default parameters to RulesEngineParameters class 8 years ago
Mahmoud Ben Hassine 4e888e0655 issue #79 : deprecate engine name parameter 8 years ago
Mahmoud Ben Hassine bee726af87 add facts in afterEvaluate method of RuleListener 8 years ago
Mahmoud Ben Hassine 7cdefab7c6 fix package name 8 years ago
Mahmoud Ben Hassine c18f7eb1bb rename base package to org.jeasy.rules after moving to jeasy organisation 8 years ago