Validator interface

The validator interface exposes the following functions.

init(config:GridConfig)

This function initializes the validator.

process(rulesToExecute:Validator.RulesEnum)

This function executes the validation rules. The rulesToExecute parameter determines which type of rule validation plug-in executes. It is an enumerated value that can have the following values:

destroy()

This is a destructor for the object, and does garbage collection.

Out-of-box Unica Marketing Operations provides a sample validator, RangeCheckRule.java. This object takes a grid as input, then iterates through all of the grid’s records validating against rules defined in an XML file.



IBM Unica Marketing Operations
 
8.5.0
For more information, see our support and community site: Customer Central