public class JRBshEvaluator extends JREvaluator
JRBshCompiler| Constructor and Description |
|---|
JRBshEvaluator(java.lang.String bshScript) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizedInit(java.util.Map<java.lang.String,JRFillParameter> pars,
java.util.Map<java.lang.String,JRFillField> fldsm,
java.util.Map<java.lang.String,JRFillVariable> varsm)
Initializes the parameters, fields and variables of the evaluator.
|
protected java.lang.Object |
evaluate(int id)
Evaluates an expression using current fields and variables values.
|
protected java.lang.Object |
evaluateEstimated(int id)
Evaluates an expression using estimated variables values.
|
protected java.lang.Object |
evaluateOld(int id)
Evaluates an expression using old fields and variables values.
|
<T> void |
verify(java.util.Collection<T> expressions) |
evaluate, evaluateEstimated, evaluateOld, getFunctionSupport, handleMissingResource, init, msg, msg, msg, msg, strpublic JRBshEvaluator(java.lang.String bshScript)
throws JRException
JRExceptionpublic <T> void verify(java.util.Collection<T> expressions)
throws JRException
JRExceptionprotected void customizedInit(java.util.Map<java.lang.String,JRFillParameter> pars, java.util.Map<java.lang.String,JRFillField> fldsm, java.util.Map<java.lang.String,JRFillVariable> varsm) throws JRException
JREvaluatorcustomizedInit in class JREvaluatorpars - the parameters indexed by namefldsm - the fields indexed by namevarsm - the variables indexed by nameJRExceptionprotected java.lang.Object evaluateOld(int id)
throws java.lang.Throwable
JREvaluatorevaluateOld in class JREvaluatorid - the expression idjava.lang.ThrowableJRExpression.EVALUATION_OLD,
JRFillVariable.getOldValue(),
JRFillField.getOldValue()protected java.lang.Object evaluateEstimated(int id)
throws java.lang.Throwable
JREvaluatorevaluateEstimated in class JREvaluatorid - the expression idjava.lang.ThrowableJRExpression.EVALUATION_ESTIMATED,
JRFillVariable.getEstimatedValue()protected java.lang.Object evaluate(int id)
throws java.lang.Throwable
JREvaluatorevaluate in class JREvaluatorid - the expression idjava.lang.ThrowableJRExpression.EVALUATION_DEFAULT,
JRFillVariable.getValue(),
JRFillField.getValue()© 2001-2010 Jaspersoft Corporation www.jaspersoft.com