Class DefaultMaxRuleExecutionsFunction
- java.lang.Object
-
- de.hybris.platform.ruleengine.impl.DefaultMaxRuleExecutionsFunction
-
- All Implemented Interfaces:
java.util.function.Function<RuleEvaluationContext,java.lang.Integer>
public class DefaultMaxRuleExecutionsFunction 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. This is a simple implementation that returns value of -1 that translates to 'no max limit'
-
-
Constructor Summary
Constructors Constructor Description DefaultMaxRuleExecutionsFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integerapply(RuleEvaluationContext context)
-
-
-
Method Detail
-
apply
public java.lang.Integer apply(RuleEvaluationContext context)
- Specified by:
applyin interfacejava.util.function.Function<RuleEvaluationContext,java.lang.Integer>
-
-