Package io.quarkus.qute
Interface ValueResolver
-
- All Superinterfaces:
Resolver,WithPriority
- All Known Implementing Classes:
ReflectionValueResolver
public interface ValueResolver extends Resolver, WithPriority
Value resolvers are used when evaluating expressions.First the resolvers that apply to the given
EvalContextare filtered. Then the resolver with highest priority is used to resolve the data. IfResults.isNotFound(Object)is returned the next available resolver is tried.- See Also:
EvalContext
-
-
Field Summary
-
Fields inherited from interface io.quarkus.qute.WithPriority
DEFAULT_PRIORITY
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default booleanappliesTo(EvalContext context)static ValueResolverBuilderbuilder()static booleanmatchClass(EvalContext ctx, Class<?> clazz)-
Methods inherited from interface io.quarkus.qute.WithPriority
getPriority
-
-
-
-
Method Detail
-
appliesTo
default boolean appliesTo(EvalContext context)
- Parameters:
context-- Returns:
trueif this resolver applies to the given context
-
builder
static ValueResolverBuilder builder()
- Returns:
- a new builder
-
matchClass
static boolean matchClass(EvalContext ctx, Class<?> clazz)
-
-