You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
easy-rules/site/user-guide/introduction.md

756 B

layout title header prev_section next_section doc
docs Introduction Introduction about/getting-started user-guide/defining-rules true

Most business rules can be represented by the following definition:

  • Name: a unique rule name within a rules namespace
  • Description: a brief description of the rule
  • Priority: rule priority regarding to other rules
  • Conditions: set of conditions that should be satisfied to apply the rule
  • Actions: set of actions to perform when conditions are satisfied

Easy Rules provides an abstraction for each of these key points to define business rules.

Next section will show you how to define a rule either by extending a base class provided by Easy Rules or by annotating your own domain class.