Class PromotionSourceRuleValidateInterceptor

java.lang.Object
de.hybris.platform.promotionengineservices.interceptors.PromotionSourceRuleValidateInterceptor
All Implemented Interfaces:
Interceptor, ValidateInterceptor<PromotionSourceRuleModel>

public class PromotionSourceRuleValidateInterceptor extends Object implements ValidateInterceptor<PromotionSourceRuleModel>
Validates the PromotionSourceRuleModel item type. Limiting the maximum numbers of condition and action for performance perspective works only when promotionengineservices.maximum.limitation.perrule.enable = true You can configure the maximum numbers via below properties promotionengineservices.maximum.conditions.perrule=10 promotionengineservices.maximum.actions.perrule=2