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.getExpressionValue
(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:EvaluationContext
Returns the name of an attribute, variable, environment variable, or system variable that can be referenced in the Expression Language- Specified by:
getExpressionValue
in interfaceEvaluationContext
- Parameters:
name
- the name of the attribute, variable, etc.- Returns:
- the value assigned to the attribute, variable, etc. or
null
if no such value exists
-
getExpressionKeys
Description copied from interface:EvaluationContext
Returns the names of all attributes, variables, etc. that can be used in Expression Language- Specified by:
getExpressionKeys
in interfaceEvaluationContext
- Returns:
- the names of all keys that can be used in Expression Language
-
getState
- Specified by:
getState
in interfaceEvaluationContext
-
getEvaluatorState
- Specified by:
getEvaluatorState
in interfaceEvaluationContext
-
getParameter
Get Parameter returns null in all cases to block access to Parameter Values- Specified by:
getParameter
in interfaceEvaluationContext
- Parameters:
parameterName
- Parameter Name- Returns:
- Null Parameter
-