Class MvelTemplate
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.scripting.MvelTemplate
-
- All Implemented Interfaces:
Serializable
,Expression
public class MvelTemplate extends Object implements Expression
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MvelTemplate(String expr)
-
-
-
Field Detail
-
compiled
protected transient volatile org.mvel2.templates.CompiledTemplate compiled
-
expr
protected final String expr
-
-
Constructor Detail
-
MvelTemplate
public MvelTemplate(String expr)
-
-
Method Detail
-
eval
public Object eval(OperationContext ctx)
- Specified by:
eval
in interfaceExpression
-
getExpr
public String getExpr()
- Specified by:
getExpr
in interfaceExpression
-
-