Campaign | partition[n] | validation
The Validation Plugin Development Kit (PDK), delivered with Campaign, allows third parties to develop custom validation logic for use in Campaign. Properties in the partition[n] > validation category specify the classpath and class name of the custom validation program, and an optional configuration string.
validationClass
Description
The validationClass property specifies the name of the class used for validation in Campaign. The path to the class is specified in the validationClasspath property. The class must be fully qualified with its package name.
For example:
com.unica.campaign.core.validation.samples.SimpleCampaignValidator
indicates the SimpleCampaignValidator class from the sample code.
This property is undefined by default, which causes Campaign to perform no custom validation.
Default value
No default value defined.
validationConfigString
Description
The validationConfigString property specifies a configuration string that is passed into the validation plugin when Campaign loads it. The use of the configuration string may vary, depending on the plugin used.
This property is undefined by default.
Default value
No default value defined.
validationClasspath
Description
The validationClasspath property specifies the path to the class used for custom validation in Campaign.
You may specify the path as follows:
*
c:\bea\user_projects\domains\mydomain.
*
If the path ends in a slash (forward slash / for UNIX or backslash \ for Windows), then Campaign assumes the path is to a directory that contains the Java plug-in class that should be used. If the path does not end in a slash, then Campaign assumes that it is the name of a jar file that contains the java class. For example: The value /opt/affinium/campaign/pdk/lib/validation.jar is the path on a UNIX platform that would point to the jar file that comes out of the box with the plug-in developer kit.
*
Default value
No default value defined.