Campaign | partitions | partition[n] | validation

The Validation Plugin Development Kit (PDK), delivered with Unica Campaign, allows third parties to develop custom validation logic for use in Unica 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 Unica 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 Unica 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 Unica 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 Unica Campaign.

  • Use either a full path or a relative path. If the path is relative, the behavior depends on the application server that is running Unica Campaign. WebLogic uses the path to the domain work directory, which by default is c:\bea\user_projects\domains\mydomain.
  • If the path ends in a slash (forward slash / for UNIX or backslash \ for Windows), Unica Campaign assumes that it points to the location of the Java plug-in class that should be used.
  • If the path does not end in a slash, Unica Campaign assumes that it is the name of a .jar file that contains the Java class. For example, the value /<CAMPAIGN_HOME>/devkits/validation/lib/validator.jar is the path on a UNIX platform that points to the JAR file that is provided with the plug-in developer's kit.

This property is undefined by default, which causes the property to be ignored.

Default value

No default value defined.