Class ParametersDisabledEvaluationContext
java.lang.Object
org.apache.nifi.attribute.expression.language.ParametersDisabledEvaluationContext
- All Implemented Interfaces:
EvaluationContext
Delegating implementation of Evaluation Context that blocks access to Parameter Values
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the names of all attributes, variables, etc. that can be used in Expression LanguagegetExpressionValue(String name) Returns the name of an attribute, variable, environment variable, or system variable that can be referenced in the Expression LanguagegetParameter(String parameterName) Get Parameter returns null in all cases to block access to Parameter Values
-
Field Details
-
evaluationContext
-
-
Constructor Details
-
ParametersDisabledEvaluationContext
-
-
Method Details
-
getExpressionValue
Description copied from interface:EvaluationContextReturns the name of an attribute, variable, environment variable, or system variable that can be referenced in the Expression Language- Specified by:
getExpressionValuein interfaceEvaluationContext- Parameters:
name- the name of the attribute, variable, etc.- Returns:
- the value assigned to the attribute, variable, etc. or
nullif no such value exists
-
getExpressionKeys
Description copied from interface:EvaluationContextReturns the names of all attributes, variables, etc. that can be used in Expression Language- Specified by:
getExpressionKeysin interfaceEvaluationContext- Returns:
- the names of all keys that can be used in Expression Language
-
getState
- Specified by:
getStatein interfaceEvaluationContext
-
getEvaluatorState
- Specified by:
getEvaluatorStatein interfaceEvaluationContext
-
getParameter
Get Parameter returns null in all cases to block access to Parameter Values- Specified by:
getParameterin interfaceEvaluationContext- Parameters:
parameterName- Parameter Name- Returns:
- Null Parameter
-