Class CartBasedMaxRuleExecutionsFunction
- java.lang.Object
-
- de.hybris.platform.promotionengineservices.promotionengine.impl.CartBasedMaxRuleExecutionsFunction
-
- All Implemented Interfaces:
java.util.function.Function<RuleEvaluationContext,java.lang.Integer>
public class CartBasedMaxRuleExecutionsFunction extends java.lang.Object implements java.util.function.Function<RuleEvaluationContext,java.lang.Integer>
Function that returns a number that represents maximum rule executions during a single evaluation of a context withCartRAOpresent
-
-
Constructor Summary
Constructors Constructor Description CartBasedMaxRuleExecutionsFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integerapply(RuleEvaluationContext context)protected intgetMinExecutions()voidsetMinExecutions(int minExecutions)
-
-
-
Method Detail
-
apply
public java.lang.Integer apply(RuleEvaluationContext context)
- Specified by:
applyin interfacejava.util.function.Function<RuleEvaluationContext,java.lang.Integer>
-
getMinExecutions
protected int getMinExecutions()
-
setMinExecutions
public void setMinExecutions(int minExecutions)
-
-