public class RhinoExpression extends org.pentaho.reporting.engine.classic.core.function.AbstractExpression implements Serializable
Object getValue()
and this function is defined in the expression
property. You have to overwrite the function
getValue()
to begin and to end your expression, but you are free to add your own functions to the
script.
Constructor and Description |
---|
RhinoExpression()
Deprecated.
default constructor, create a new BeanShellExpression.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
Deprecated.
|
Object |
getValue()
Deprecated.
Evaluates the defined expression.
|
protected org.pentaho.reporting.engine.classic.core.states.LegacyDataRowWrapper |
initializeScope(org.mozilla.javascript.Scriptable scope)
Deprecated.
|
void |
setExpression(String expression)
Deprecated.
|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public RhinoExpression()
protected org.pentaho.reporting.engine.classic.core.states.LegacyDataRowWrapper initializeScope(org.mozilla.javascript.Scriptable scope)
public Object getValue()
getValue
in interface org.pentaho.reporting.engine.classic.core.function.Expression
public String getExpression()
public void setExpression(String expression)
Copyright © 2019 Hitachi Vantara. All rights reserved.