Class JexlUtils
java.lang.Object
org.apache.syncope.core.provisioning.api.jexl.JexlUtils
JEXL reference is available.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAttrsToContext
(Collection<Attr> attrs, JexlContext jexlContext) static void
addDerAttrsToContext
(Any<?> any, DerAttrHandler derAttrHandler, JexlContext jexlContext) static void
addFieldsToContext
(Object object, JexlContext jexlContext) static void
addPlainAttrsToContext
(Collection<? extends PlainAttr<?>> attrs, JexlContext jexlContext) static Object
evaluateExpr
(String expression, JexlContext jexlContext) static boolean
evaluateMandatoryCondition
(String mandatoryCondition, Any<?> any, DerAttrHandler derAttrHandler) static String
evaluateTemplate
(String template, JexlContext jexlContext) static boolean
isExpressionValid
(String expression)
-
Method Details
-
isExpressionValid
-
evaluateExpr
-
evaluateTemplate
-
addFieldsToContext
-
addAttrsToContext
-
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)
-