RulesEngine v0.1.1 RulesEngine.RulesEngineParameters View Source
For reference from https://github.com/j-easy/easy-rules/wiki/defining-rules-engine Parameter Type Required Default rulePriorityThreshold int no MaxInt skipOnFirstAppliedRule boolean no false skipOnFirstFailedRule boolean no false skipOnFirstNonTriggeredRule boolean no false
The skipOnFirstAppliedRule parameter tells the engine to skip next rules when a rule is applied. The skipOnFirstFailedRule parameter tells the engine to skip next rules when a rule fails. The skipOnFirstNonTriggeredRule parameter tells the engine to skip next rules when a rule is not triggered. The rulePriorityThreshold parameter tells the engine to skip next rules if priority exceeds the defined threshold.
Link to this section Summary
Link to this section Types
t() :: %RulesEngine.RulesEngineParameters{ rule_priority_threshold: non_neg_integer(), skip_on_first_applied_rule: boolean(), skip_on_first_failed_rule: boolean(), skip_on_first_non_triggered_rule: boolean() }