Top Description Methods
io.micrometer.common.annotation

public Interface ValueExpressionResolver

Imports
io.micrometer.common.KeyValue

Resolves the KeyValue value for the given parameter and the provided expression.
Author
Marcin Grzejszczak
Since
1.11.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the value of the KeyValue
resolve
(String
the expression coming from an annotation
expression
,
Object
parameter annotated with a KeyValue related annotation
parameter
)

Returns the KeyValue value for the given parameter and the provided expression.

Method Detail

resolveback to summary
public String resolve(String expression, Object parameter)

Returns the KeyValue value for the given parameter and the provided expression.

Parameters
expression:String

the expression coming from an annotation

parameter:Object

parameter annotated with a KeyValue related annotation

Returns:String

the value of the KeyValue