Class ParameterExpression

java.lang.Object
org.apache.nifi.attribute.expression.language.ParameterExpression
All Implemented Interfaces:
Expression

public class ParameterExpression extends Object implements Expression
  • Field Details

    • parameterName

      private final String parameterName
    • allowSensitiveParameterReference

      private final boolean allowSensitiveParameterReference
  • Constructor Details

    • ParameterExpression

      public ParameterExpression(String parameterName, boolean allowSensitiveParameterReference)
  • 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 interface Expression
      Parameters:
      evaluationContext - the context used to evaluate the Expression
      decorator - decorator to decorate variable values
      Returns:
      the evaluated value
    • getExpression

      public String getExpression()
      Specified by:
      getExpression in interface Expression
      Returns:
      the expression as a String