You use a value checker to validate input for a business-specific
BOM type. To integrate and declare the value checker, you must repackage
the Decision Center archive.
About this task
You validate input for a business-specific BOM type with
a value checker (see Creating a value checker).
Procedure
To integrate a value info (and value checker) into Decision Center:
- Package your implementation of the interfaces IlrValueChecker and IlrValueInfo into a JAR.
- Create a preferences.properties file
that maps the key you defined for the
valueInfo property
in the BOM Editor to your interface implementation, and include that
file in the JAR file that contains your implementation: webui.info.myKey = mypackage.MyValueInfoImplementation
- Repackage the Decision Center archive
with the
repackage-ear command. In the repackage-ear command,
use the -DadditionalJars argument to specify the
JAR file containing your custom class.
- Deploy the Decision Center archive.
Results
The value info and value checker are now available in Decision Center.