Creating a new rule model class
You can extend the rule model by creating a custom rule model class.
About this task
A custom rule model class must be the subclass of an existing rule model class.
Procedure
To create a custom rule model class:
Results
You have now created a custom rule model class. You can add properties and annotations to this new rule model class.
In XML, you can create a custom rule model class as follows:
<class name="MyRule" extends="BRLRule">
<property name="myProperty1" type="String"/>
<property name="myProperty2" type="Integer"/>
</class>