Class 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 with CartRAO present. This is a simple implementation that returns value of -1 that translates to 'no max limit'
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer apply​(RuleEvaluationContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • DefaultMaxRuleExecutionsFunction

        public DefaultMaxRuleExecutionsFunction()