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
Modifier and TypeMethodDescriptionapply
(JexlOperator operator, Object obj) Applies this strategy to a list of resolver types.
-
Method Details
-
apply
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
-