Class StringLiteralExpression
java.lang.Object
org.apache.nifi.attribute.expression.language.StringLiteralExpression
- All Implemented Interfaces:
Expression
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
Field Details
-
value
-
-
Constructor Details
-
StringLiteralExpression
-
-
Method Details
-
evaluate
public String evaluate(EvaluationContext evaluationContext, org.apache.nifi.expression.AttributeValueDecorator decorator) Description copied from interface:Expression
Evaluates this Expression against the given variables, attribute decorator, and state variables- Specified by:
evaluate
in interfaceExpression
- Parameters:
evaluationContext
- the context used to evaluate the Expressiondecorator
- decorator to decorate variable values- Returns:
- the evaluated value
-
getExpression
- Specified by:
getExpression
in interfaceExpression
- Returns:
- the expression as a String
-