Releases: rigregs/ez-rules
Releases · rigregs/ez-rules
0.6.beta
0.5-beta
0.4-beta
Fix the problem injecting a Proxy using a parent interface
Documentation:
Release notes:
Supported features
- Be able to inject a proxy class using a parent interface for the proxy.
0.3-beta
Improving Exchange features
Documentation:
Release notes:
Supported features
- Define a result value as return from the @then annotation method
- Improvements in the exchange rule injection
- Support for proxies class injected as exchanges by class
0.2-beta
First application beta version
Documentation:
Release notes:
Supported features
- Define set of rules with a simple set of annotation and execute then in a easy way
- Define rule groups with execution strategies and nested groups with rules
- Allow prioritization of rules and groups
- Allow to inject parameters in the rule by name and by type
- Allow to inject rules and groups in the rule engine by:
- Class
- Class name
- Instance
Supported annotations
Rule related annotation:
- @rule: Allow to mark a bean as Rule
- @when: Allow to specify the method in the rule that will be evaluate as precondition to execute the rule
- @then: Allow to define the action methods for the rules
- @priority: Allow to dynamically definer the priority of a group or a rule
- @eXchange: Allow to specify data to resolve injected parameters in the rule
- @callback: Allow to define a callback instance that can be injected in the rule methods
Rule related annotation:
- @GroupDefinition: Allow to mark a bean as Group of rules and allow to define some group related data
- @group: Allow to specify to what group definition a rule belong
- @groupkey: Allow to annotate a rule method to dynamically specify a group key
- @ParentGroupKey: Allow to dynamically define the parent group key of a rule group
- @GroupDefinitionExecutionStrategy: Allow dynamically define the execution strategy for a group