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 Serializable
compiled
protected String
expr
-
Constructor Summary
Constructors Constructor Description MvelExpression(String expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eval(OperationContext ctx)
protected Map<String,Object>
getBindings(OperationContext ctx)
String
getExpr()
-
-
-
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:
eval
in interfaceExpression
-
getExpr
public String getExpr()
- Specified by:
getExpr
in interfaceExpression
-
getBindings
protected Map<String,Object> getBindings(OperationContext ctx)
- Since:
- 5.9.3
-
-