public class ParametersDisabledEvaluationContext extends Object implements EvaluationContext
| Modifier and Type | Field and Description |
|---|---|
private EvaluationContext |
evaluationContext |
| Constructor and Description |
|---|
ParametersDisabledEvaluationContext(EvaluationContext evaluationContext) |
| Modifier and Type | Method and Description |
|---|---|
EvaluatorState |
getEvaluatorState() |
Set<String> |
getExpressionKeys()
Returns the names of all attributes, variables, etc.
|
String |
getExpressionValue(String name)
Returns the name of an attribute, variable, environment variable, or system variable that can be referenced in the Expression Language
|
Parameter |
getParameter(String parameterName)
Get Parameter returns null in all cases to block access to Parameter Values
|
String |
getState(String key) |
private final EvaluationContext evaluationContext
public ParametersDisabledEvaluationContext(EvaluationContext evaluationContext)
public String getExpressionValue(String name)
EvaluationContextgetExpressionValue in interface EvaluationContextname - the name of the attribute, variable, etc.null if no such value existspublic Set<String> getExpressionKeys()
EvaluationContextgetExpressionKeys in interface EvaluationContextpublic String getState(String key)
getState in interface EvaluationContextpublic EvaluatorState getEvaluatorState()
getEvaluatorState in interface EvaluationContextpublic Parameter getParameter(String parameterName)
getParameter in interface EvaluationContextparameterName - Parameter NameCopyright © 2023 Apache NiFi Project. All rights reserved.