RulesEngine v0.2.0 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

Link to this type t() View Source
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()
}

Link to this section Functions

Link to this function default_rules_engine_parameters() View Source