| ILOG JRules User Guide > Orchestrating Ruleset Execution > Tasks > Extracting Artifacts to be Put in a Ruleset |
Extracting Artifacts to be Put in a Ruleset |
PREVIOUS NEXT |
The Rule Studio Ruleset extractors enable you to select only the rules in a rule project that you need for execution. You can create an extractor based on either or both of:
In Rule Studio, the extractors are found in the rule project properties.
To select artifacts to be put in a ruleset:
none.
A validator is a Java class that is defined by implementing a Rule Studio extension point.
To create a validator for an extractor:
IlrExtractorValidator with the Rule Studio extension point ilog.rules.studio.model.extractorValidator.
The validator code typically examines each artifact and tests whether it is to be included in or excluded from the selection. The Default validator selects all the rules in the project. None means no validator. In this case you must specify a query in the Query field.
If the ruleset extractor references both a query and a validator, first the query is performed to select the rule artifacts. Then the validation class is called on the selected rule artifacts, and all other artifacts in the ruleset.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |