Class JexlUtils
- java.lang.Object
-
- org.apache.syncope.core.provisioning.api.jexl.JexlUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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)
-
-