public abstract class GroovyEvaluator extends JREvaluator implements JasperReportsContextAware
JRGroovyCompiler
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_FUNCTION_NOT_FOUND |
EXCEPTION_MESSAGE_KEY_RESOURCE_NOT_FOUND, PROPERTY_IGNORE_NPE
Constructor and Description |
---|
GroovyEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFunctionClosureMethods(org.codehaus.groovy.runtime.MethodClosure methodClosure,
String functionName) |
protected Object |
functionCall(String methodName,
Object[] args) |
protected void |
registerMethods(groovy.lang.ExpandoMetaClass extendedMetaClass) |
void |
setJasperReportsContext(JasperReportsContext context) |
customizedInit, evaluate, evaluate, evaluateEstimated, evaluateEstimated, evaluateOld, evaluateOld, getFunctionSupport, handleMissingResource, init, msg, msg, msg, msg, str
public static final String EXCEPTION_MESSAGE_KEY_FUNCTION_NOT_FOUND
public void setJasperReportsContext(JasperReportsContext context)
setJasperReportsContext
in interface JasperReportsContextAware
protected void addFunctionClosureMethods(org.codehaus.groovy.runtime.MethodClosure methodClosure, String functionName)
protected void registerMethods(groovy.lang.ExpandoMetaClass extendedMetaClass)
Copyright © 2017. All rights reserved.