public abstract class GroovyEvaluator extends JREvaluator implements JasperReportsContextAware
JRGroovyCompiler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_FUNCTION_NOT_FOUND |
EXCEPTION_MESSAGE_KEY_RESOURCE_NOT_FOUND, ignoreNPE, PROPERTY_IGNORE_NPE
Constructor and Description |
---|
GroovyEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFunctionClosureMethods(org.codehaus.groovy.runtime.MethodClosure methodClosure,
java.lang.String functionName) |
protected java.lang.Object |
functionCall(java.lang.String methodName,
java.lang.Object[] args) |
protected java.lang.Object |
handleEvaluationException(JRExpression expression,
java.lang.Throwable e) |
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 java.lang.String EXCEPTION_MESSAGE_KEY_FUNCTION_NOT_FOUND
public void setJasperReportsContext(JasperReportsContext context)
setJasperReportsContext
in interface JasperReportsContextAware
protected java.lang.Object handleEvaluationException(JRExpression expression, java.lang.Throwable e) throws JRExpressionEvalException
handleEvaluationException
in class JREvaluator
JRExpressionEvalException
protected java.lang.Object functionCall(java.lang.String methodName, java.lang.Object[] args)
protected void addFunctionClosureMethods(org.codehaus.groovy.runtime.MethodClosure methodClosure, java.lang.String functionName)
protected void registerMethods(groovy.lang.ExpandoMetaClass extendedMetaClass)
© 2001 - 2018 TIBCO Software Inc. www.jaspersoft.com