Creating property callbacks
To modify the behavior of a business-specific rule property, you implement a property callback interface and associate it with a rule model property through a key.
About this task
For example, you can retrieve the list of possible values for an enumeration property and allow only specific values of the enumeration to be selected. Alternatively, you can hide a property or prevent it from being edited after it is changed.
Procedure
To define callbacks on properties:
Results
You have defined callbacks on properties. You can now integrate this implementation into Rule Designer and Decision Center.
Integration into Rule Designer |
Integration into Decision Center |
|---|---|
| Create a Rule Designer plug-in with a property callback extension point. |
Repackage the Decision Center archive to integrate and declare the property callbacks. |