Class RuleVerifyUtils


  • public class RuleVerifyUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void verifyRule​(java.lang.String testRule, boolean shouldEvaluate, javax.el.ExpressionFactory expressionFactory, javax.el.ELContext elContext, java.util.Set<java.lang.String> absentIdentifiers)
      verifies EL syntax is correct, whether all identifiers are present in context, and whether it will evaluate to boolean
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • verifyRule

        public static void verifyRule​(java.lang.String testRule,
                                      boolean shouldEvaluate,
                                      javax.el.ExpressionFactory expressionFactory,
                                      javax.el.ELContext elContext,
                                      java.util.Set<java.lang.String> absentIdentifiers)
                               throws InvalidRuleException
        verifies EL syntax is correct, whether all identifiers are present in context, and whether it will evaluate to boolean
        Parameters:
        shouldEvaluate - if false, only checks syntax is correct
        Throws:
        InvalidRuleException