Interface Expression
- All Known Implementing Classes:
CompiledExpression
,ParameterExpression
,StringLiteralExpression
public interface Expression
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EvaluationContext evaluationContext, org.apache.nifi.expression.AttributeValueDecorator decorator) Evaluates this Expression against the given variables, attribute decorator, and state variables
-
Method Details
-
evaluate
String evaluate(EvaluationContext evaluationContext, org.apache.nifi.expression.AttributeValueDecorator decorator) Evaluates this Expression against the given variables, attribute decorator, and state variables- Parameters:
evaluationContext
- the context used to evaluate the Expressiondecorator
- decorator to decorate variable values- Returns:
- the evaluated value
-
getExpression
String getExpression()- Returns:
- the expression as a String
-