@OpenApi
public interface Evaluator
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(OpaqueExpression expression,
Element object)
Entry method for expression evaluation.
|
default java.lang.Object |
evaluate(OpaqueExpression expression,
Element object,
java.util.List<NamedArgument> arguments)
Entry method for expression evaluation.
|
java.lang.String |
getExpressionCachingKey(OpaqueExpression expression)
Calculates a string identifier of the expression.
|
boolean |
isExpressionGlobal(OpaqueExpression expression)
Determines if the supplied expression is "global", i.e.
|
@OpenApi java.lang.Object evaluate(OpaqueExpression expression, @CheckForNull Element object)
expression
- expression to be calledobject
- contextual object of expression call@OpenApi default java.lang.Object evaluate(OpaqueExpression expression, @CheckForNull Element object, java.util.List<NamedArgument> arguments)
expression
- expression to be calledobject
- contextual object of expression call@OpenApi boolean isExpressionGlobal(OpaqueExpression expression)
expression
- expression to be inspected@OpenApi java.lang.String getExpressionCachingKey(OpaqueExpression expression)
expression
- expression, results of which are to be cached