When completed, this tutorial provides an executable rule
project that includes a complete vocabulary and business rules.
To import the answer projects and run
the tutorial:
- Import the answer projects:
- Open the samples console in the en_US (American English)
locale (see Opening the samples console).
- In the Samples and Tutorials view, locate
Rule
Designer
> Tutorials > Editing
decision tables > answer, and
then click Import projects.
The
Rule Explorer view displays two projects:
- The Java™ project carrental-xom,
which defines an execution object model for rule execution.
- The rule project decisiontable-rules-answer,
which contains a complete vocabulary and a set of business rules.
This project references the project carrental-xom.
The rule project decisiontable-rules-answer also
contains the following ruleset parameters:
- rental, which is verbalized as the current rental agreement
- session, which is verbalized as the current session
To view these parameters, right-click the rule project and
then click Properties. In the properties dialog,
click Ruleset Parameters.
- Run the tutorial:
- To make sure that you are in the Rule perspective, click .
- In the Rule Explorer, double-click rule project items
to view them in their editors.
- Click .
- In the Run Configurations dialog,
select the launch configuration.
- Click Run.
The Console view displays messages that describe
the actions carried out by the business rules in the project.