public class MVELExpression extends Object implements Expression
| Constructor and Description |
|---|
MVELExpression(String expression,
org.switchyard.common.property.PropertyResolver propertyResolver)
Creates a new MVELExpression with the specified expression and
PropertyResolver. |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
Gets the expression value.
|
ExpressionType |
getType()
Gets the expression type.
|
boolean |
isCompiled()
If this expression is compiled.
|
Object |
run()
Runs the expression.
|
Object |
run(Map<String,Object> variables)
Runs the expression.
|
public MVELExpression(String expression, org.switchyard.common.property.PropertyResolver propertyResolver)
PropertyResolver.expression - the specified expressionpropertyResolver - the specified PropertyResolverpublic String getExpression()
getExpression in interface Expressionpublic ExpressionType getType()
getType in interface Expressionpublic boolean isCompiled()
isCompiled in interface Expressionpublic Object run()
run in interface ExpressionCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.