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:ExpressionEvaluates this Expression against the given variables, attribute decorator, and state variables- Specified by:
evaluatein interfaceExpression- Parameters:
evaluationContext- the context used to evaluate the Expressiondecorator- decorator to decorate variable values- Returns:
- the evaluated value
-
getExpression
- Specified by:
getExpressionin interfaceExpression- Returns:
- the expression as a String
-