Creating a custom business rule language
You use the Business Rule Language Definition Framework (BRLDF) if you want to extend BRMS built-in rule languages. You then integrate your custom business rule language into Rule Designer and Decision Center.
Support for custom business rule
languages is deprecated in V8.8.1. This feature will be removed in
a future release of the product. See Deprecated features for migration
details.
To use the BRLDF to define your business rule language, do the following:
Define the abstract syntax of the business rule language in an XML Schema file: myLanguage.xsd. See Customizing the syntax.
Define the concrete syntax properties of the business rule language in a file with the same name and a .properties file extension: myLanguage.properties. Make sure this file is located in the same directory as myLanguage.xsd. See Concrete syntax properties.
Write some Java™ code to define the translation of your new abstract syntax types to the ILOG® Rule Language (IRL). See (deprecated) Customizing business rule translation to IRL.
Define a semantic context extension class to represent your business rule language as an entity, and register it in the concrete syntax of your language. See Defining a semantic context extension class.
Associate the business rule language to a new rule type. See Creating a rule model class.
When you have completed common development for a custom rule language, you integrate it into the Decision Server modules.
Integration into Rule Designer |
Integration into Decision Center |
|---|---|
Create a Rule Designer plug-in with a rule language extension point. (deprecated) Integrating a custom business rule language into Rule Designer |
Repackage the Decision Center archive to integrate and declare the rule language files and classes. Integrating a custom business rule language into Decision Center |