Class MvelExpression
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.scripting.MvelExpression
-
- All Implemented Interfaces:
Serializable,Expression
- Direct Known Subclasses:
RoutingScriptingExpression
public class MvelExpression extends Object implements Expression
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Serializablecompiledprotected Stringexpr
-
Constructor Summary
Constructors Constructor Description MvelExpression(String expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objecteval(OperationContext ctx)protected Map<String,Object>getBindings(OperationContext ctx)StringgetExpr()
-
-
-
Field Detail
-
compiled
protected transient volatile Serializable compiled
-
expr
protected final String expr
-
-
Constructor Detail
-
MvelExpression
public MvelExpression(String expr)
-
-
Method Detail
-
eval
public Object eval(OperationContext ctx)
- Specified by:
evalin interfaceExpression
-
getExpr
public String getExpr()
- Specified by:
getExprin interfaceExpression
-
getBindings
protected Map<String,Object> getBindings(OperationContext ctx)
- Since:
- 5.9.3
-
-