To test the execution of a ruleset in Rule
Designer,
you create a Java™ project for
rules. Then, you edit the execution method and you set up notification.
Creating a Java Project for Rules
A Java Project for
Rules is a predefined Java project
that contains a single runnable main class to execute the rules contained
in a rule project.
Completing the ruleset execution code
After you have created a Java project
and set the class path to the correct XOM and rule engine, you complete
the execution code to define how to execute rules. You can write the
code to get the number of rules fired and the output ruleset parameters.
Mapping between classic rule engine and decision engine API
The mapping between the API of the classic rule engine
and of the decision engine is not a one-to-one mapping.
The decision engine API is modular and it is composed of several interfaces
with few methods.