Package io.atlasmap.expression.internal
Class VariableExpression
- java.lang.Object
-
- io.atlasmap.expression.internal.VariableExpression
-
- All Implemented Interfaces:
Expression
public class VariableExpression extends Object implements Expression
Represents a property expression.- Version:
- $Revision: 1.5 $
-
-
Field Summary
-
Fields inherited from interface io.atlasmap.expression.Expression
CACHE
-
-
Constructor Summary
Constructors Constructor Description VariableExpression(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.atlasmap.v2.Fieldevaluate(ExpressionContext expressionContext)Execute the expression against the given context.StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
VariableExpression
public VariableExpression(String name)
-
-
Method Detail
-
evaluate
public io.atlasmap.v2.Field evaluate(ExpressionContext expressionContext) throws ExpressionException
Description copied from interface:ExpressionExecute the expression against the given context.- Specified by:
evaluatein interfaceExpression- Parameters:
expressionContext-ExpressionContext- Returns:
Fieldrepresents a result- Throws:
ExpressionException- If evaluation fails
-
getName
public String getName()
-
-