Package io.micronaut.context.env
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.
The property expression resolver.
- Since:
- 3.5.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription<T> Optional<T> resolve(PropertyResolver propertyResolver, ConversionService conversionService, String expression, Class<T> requiredType) Resolve the value for the expression of the specified type.
-
Method Details
-
resolve
<T> Optional<T> resolve(PropertyResolver propertyResolver, ConversionService conversionService, String expression, Class<T> requiredType) Resolve the value for the expression of the specified type.- Type Parameters:
T- The type- Parameters:
propertyResolver- The property resolverconversionService- The conversion serviceexpression- The expressionrequiredType- The required typ- Returns:
- The optional resolved value
-