Class ParameterExpression
java.lang.Object
org.apache.nifi.attribute.expression.language.ParameterExpression
- All Implemented Interfaces:
Expression
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterExpression
(String parameterName, boolean allowSensitiveParameterReference) -
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
-
parameterName
-
allowSensitiveParameterReference
private final boolean allowSensitiveParameterReference
-
-
Constructor Details
-
ParameterExpression
-
-
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
-