java.lang.Object
org.apache.syncope.core.provisioning.api.jexl.JexlUtils

public final class JexlUtils extends Object
JEXL reference is available.
  • Method Details

    • isExpressionValid

      public static boolean isExpressionValid(String expression)
    • evaluateExpr

      public static Object evaluateExpr(String expression, JexlContext jexlContext)
    • evaluateTemplate

      public static String evaluateTemplate(String template, JexlContext jexlContext)
    • addFieldsToContext

      public static void addFieldsToContext(Object object, JexlContext jexlContext)
    • addAttrsToContext

      public static void addAttrsToContext(Collection<Attr> attrs, JexlContext jexlContext)
    • addPlainAttrsToContext

      public static void addPlainAttrsToContext(Collection<? extends PlainAttr<?>> attrs, JexlContext jexlContext)
    • addDerAttrsToContext

      public static void addDerAttrsToContext(Any<?> any, DerAttrHandler derAttrHandler, JexlContext jexlContext)
    • evaluateMandatoryCondition

      public static boolean evaluateMandatoryCondition(String mandatoryCondition, Any<?> any, DerAttrHandler derAttrHandler)