Integrating a custom ruleset extractor validator into Rule Designer

You use a custom ruleset extractor validator to select only the rules in a rule project that you need for execution.

About this task

A custom ruleset extractor validator selects only the rules that you want to run, see Creating a custom ruleset extractor validator. To integrate the extractor validator into Rule Designer, you create a Rule Designer plug-in with an extractor validator extension point.

Procedure

To integrate a custom ruleset extractor validator:

  1. Create a plug-in project that depends on the plug-in: ilog.rules.studio.model.

    For help with creating a plug-in project, see Creating a plug-in project.

  2. In this plug-in, create an extension for ilog.rules.studio.model.extractorValidator.

    For help with defining a plug-in extension, see Defining a plug-in extension.

  3. In the extension point, set these attributes:
    • Use the name attribute to specify the name of the validator as you want it to display in the New Ruleset Extractor dialog

    • Use the validatorClass attribute to specify the name of the implementation of IlrExtractorValidator

  4. Save the plug-in project.
  5. Deploy the plug-in.

    For help with deploying the plug-in, see Deploying a plug-in.

Results

The implementation of a custom ruleset extractor validator is now integrated into your Rule Designer installation.