Integrating a value checker into Rule Designer

You use a value checker to validate input for a business-specific BOM type.

About this task

To create a value checker to validate input for a BOM type, see Creating a value checker. To integrate a value checker into Rule Designer, you create a Rule Designer plug-in with a value info extension point.

Procedure

To integrate a value info (and value checker) 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.valueInfo.

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

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

  4. Put the value info and value checker classes 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 info and value checker in Rule Designer.