java.lang.Object
io.quarkus.qute.ValueResolvers.EqualsResolver
- All Implemented Interfaces:
Resolver,ValueResolver,WithPriority
- Enclosing class:
ValueResolvers
-
Field Summary
Fields inherited from interface io.quarkus.qute.WithPriority
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(EvalContext context) resolve(EvalContext context) This method should return an instance ofif it's not possible to resolve the context.invalid reference
Results#NotFoundMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.qute.ValueResolver
getCachedResolver, getPriority, getSupportedMethods, getSupportedProperties
-
Constructor Details
-
EqualsResolver
public EqualsResolver()
-
-
Method Details
-
appliesTo
- Specified by:
appliesToin interfaceValueResolver- Parameters:
context-- Returns:
trueif this resolver applies to the given context
-
resolve
Description copied from interface:ResolverThis method should return an instance ofif it's not possible to resolve the context. Any other value is considered a valid result, includinginvalid reference
Results#NotFoundnull.
-