public class JRBshEvaluator extends JREvaluator
| Constructor and Description |
|---|
JRBshEvaluator(java.lang.String bshScript) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizedInit(java.util.Map pars,
java.util.Map fldsm,
java.util.Map 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.
|
void |
verify(java.util.Collection expressions) |
evaluate, evaluateEstimated, evaluateOld, handleMissingResource, init, msg, msg, msg, msg, strpublic JRBshEvaluator(java.lang.String bshScript)
throws JRException
JRExceptionpublic void verify(java.util.Collection expressions)
throws JRException
JRExceptionprotected void customizedInit(java.util.Map pars,
java.util.Map fldsm,
java.util.Map 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