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