Integrating a value descriptor into Rule Designer

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

About this task

You use a value descriptor to provide a literal value representation for your business-specific BOM types, see Creating a value descriptor. To integrate the value descriptor into Rule Designer, you create a Rule Designer plug-in with a value descriptor extension point.

Procedure

To integrate a value descriptor 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.valueDescriptors.

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

    • Use the class attribute to specify the fully qualified name of the value descriptor 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 descriptor is automatically integrated into Decision Center, so no manual integration is required.

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

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

Results

You can now use the value descriptor in Rule Designer.