Integrating extractable property handlers into Rule Designer

You use extractable property handlers to define how your business-specific rule properties are extracted to and processed by the rule engine. You then integrate them into Rule Designer by creating a Rule Designer plug-in with an extractable property handler extension point.

About this task

To define how your business-specific rule properties are extracted and processed by the rule engine, you can use extractable property handlers. To integrate them into Rule Designer, you create a Rule Designer plug-in with an extractable property handler extension point.

The Rule Designer extension point associates your key to the implementation of the interface IlrExtractablePropertyHandler.

Procedure

To integrate handlers for extractable properties:

  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.extractablePropertyHandlers.

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

  3. In the extension point, set these attributes:
    • Use the id attribute to specify the name of the key you used in the annotation extractablePropertyHandler in that property

    • Use the handlerClass attribute to specify the name of the implementation of IlrExtractablePropertyHandler

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

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

Results

The implementation of extractable property handlers is now integrated into Rule Designer.