Integrating a value translator into Rule Designer

After creating a value translator, you must integrate it into Rule Designer.

About this task

You use a value translator to define how IRL is generated for your business-specific BOM types, see Creating a value translator. To integrate a value translator into Rule Designer, you create a Rule Designer plug-in with a value translator extension point.

Procedure

To integrate a value translator into Rule Designer:

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

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

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

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

  3. In the extension point, set these attributes:
    • Use the key attribute to specify the name of the key you used for the property valueTranslator.

    • Use the class attribute to specify the fully qualified name of the value translator class.

    Note:

    Use the fully qualified name of the implementation class as the name of the key attribute. If the key is the same as the fully qualified name of the implementation class, the value translator is automatically integrated into Decision Center, so no manual intervention is required.

  4. Put the value translator class into the plug-in project.
  5. Save the plug-in project.
  6. Deploy the plug-in.

    For help with deploying a plug-in, refer to Deploying a plug-in.

Results

You can now use the value translator in Rule Designer.