Class JavaScriptEvaluator
- java.lang.Object
-
- io.leangen.graphql.execution.complexity.AbstractComplexityFunction
-
- io.leangen.graphql.execution.complexity.JavaScriptEvaluator
-
- All Implemented Interfaces:
ComplexityFunction
public class JavaScriptEvaluator extends AbstractComplexityFunction
-
-
Constructor Summary
Constructors Constructor Description JavaScriptEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected inteval(String expression, Map<String,Object> arguments)-
Methods inherited from class io.leangen.graphql.execution.complexity.AbstractComplexityFunction
getComplexity
-
-
-
-
Method Detail
-
eval
protected int eval(String expression, Map<String,Object> arguments) throws ScriptException
- Specified by:
evalin classAbstractComplexityFunction- Throws:
ScriptException
-
-