Skip to content

Commit

Permalink
code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tarilabs committed Aug 1, 2023
1 parent 5101522 commit fed0af1
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ In addition to the standard Rule Unit API, {PRODUCT} 8 offers an alternative way
You can now define the rules for Rule Units using a dedicated set of Java APIs.

TIP: As an end-user, you can think of the Rule Unit DSL as an alternative to DRL, in order to define your rules with an internal DSL using Java.
This can be helpful if you are authoring rules as a {PRODUCT} end-user, but you are also proficient with Java:
in that case, you now can define rules with DRL or Rule Unit DSL.

CAUTION: The Rule Unit DSL is not intended to be used a way to code-generate executable model code, nor to produce DRL files.
CAUTION: The Rule Unit DSL is _not_ intended to be used a way to code-generate executable model code, nor to produce DRL files.
The goal of the Rule Unit DSL is to programmatically invoke the exec model methods (at runtime).
As a developer using {PRODUCT} for your application development, you may find helpful to leverage _programmatically_ the Rule Unit DSL only for very dynamic use-cases
(when the rule is only known at runtime, and compile-time performance optimizations are not needed).
As a developer using {PRODUCT} for your application development
(you do not write the rules yourself, you write the Java code to integrate {PRODUCT} in your app development for your end-users)
you may find helpful to leverage _programmatically_ the Rule Unit DSL _only_ for very dynamic use-cases,
that is when the rule is only known at runtime, and compile-time performance optimizations are not needed.

Let's learn with comments on the example.

Expand Down

0 comments on commit fed0af1

Please sign in to comment.