Class CartBasedMaxRuleExecutionsFunction
java.lang.Object
de.hybris.platform.promotionengineservices.promotionengine.impl.CartBasedMaxRuleExecutionsFunction
- All Implemented Interfaces:
Function<RuleEvaluationContext,Integer>
public class CartBasedMaxRuleExecutionsFunction
extends Object
implements Function<RuleEvaluationContext,Integer>
Function that returns a number that represents maximum rule executions during a single evaluation of a context with
CartRAO present-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(RuleEvaluationContext context) protected intvoidsetMinExecutions(int minExecutions)
-
Constructor Details
-
CartBasedMaxRuleExecutionsFunction
public CartBasedMaxRuleExecutionsFunction()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<RuleEvaluationContext,Integer>
-
getMinExecutions
protected int getMinExecutions() -
setMinExecutions
public void setMinExecutions(int minExecutions)
-