Interface JexlUberspect.ResolverStrategy
-
- Enclosing interface:
- JexlUberspect
public static interface JexlUberspect.ResolverStrategy
Determines property resolution strategy.To use a strategy instance, you have to set it at engine creation using
JexlBuilder.strategy(JexlUberspect.ResolverStrategy)
as in:JexlEngine jexl = new JexlBuilder().strategy(MY_STRATEGY).create();
- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JexlUberspect.PropertyResolver>
apply(JexlOperator operator, java.lang.Object obj)
Applies this strategy to a list of resolver types.
-
-
-
Method Detail
-
apply
java.util.List<JexlUberspect.PropertyResolver> apply(JexlOperator operator, java.lang.Object obj)
Applies this strategy to a list of resolver types.- Parameters:
operator
- the property access operator, may be nullobj
- the instance we seek to obtain a property setter/getter from, can not be null- Returns:
- the ordered list of resolvers types, must not be null
-
-