Interface PropertyExpressionResolver

All Known Implementing Classes:
RandomPropertyExpressionResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PropertyExpressionResolver
The property expression resolver.
Since:
3.5.0
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> @NonNull Optional<T>
    resolve(@NonNull PropertyResolver propertyResolver, @NonNull ConversionService conversionService, @NonNull String expression, @NonNull Class<T> requiredType)
    Resolve the value for the expression of the specified type.
  • Method Details

    • resolve

      <T> @NonNull Optional<T> resolve(@NonNull PropertyResolver propertyResolver, @NonNull ConversionService conversionService, @NonNull String expression, @NonNull Class<T> requiredType)
      Resolve the value for the expression of the specified type.
      Type Parameters:
      T - The type
      Parameters:
      propertyResolver - The property resolver
      conversionService - The conversion service
      expression - The expression
      requiredType - The required typ
      Returns:
      The optional resolved value