public class StandardExpressionLanguageCompiler extends Object implements ExpressionLanguageCompiler
| Modifier and Type | Field and Description |
|---|---|
private ParameterLookup |
parameterLookup |
private VariableRegistry |
variableRegistry |
| Constructor and Description |
|---|
StandardExpressionLanguageCompiler(VariableRegistry variableRegistry,
ParameterLookup parameterLookup) |
| Modifier and Type | Method and Description |
|---|---|
AttributeExpression |
compile(String expression) |
AttributeExpression.ResultType |
getResultType(String expression) |
boolean |
isValidExpression(String expression) |
String |
validateExpression(String expression,
boolean allowSurroundingCharacters) |
private final VariableRegistry variableRegistry
private final ParameterLookup parameterLookup
public StandardExpressionLanguageCompiler(VariableRegistry variableRegistry, ParameterLookup parameterLookup)
public AttributeExpression compile(String expression) throws IllegalArgumentException
compile in interface ExpressionLanguageCompilerIllegalArgumentExceptionpublic boolean isValidExpression(String expression)
isValidExpression in interface ExpressionLanguageCompilerpublic String validateExpression(String expression, boolean allowSurroundingCharacters)
validateExpression in interface ExpressionLanguageCompilerpublic AttributeExpression.ResultType getResultType(String expression) throws IllegalArgumentException
getResultType in interface ExpressionLanguageCompilerIllegalArgumentExceptionCopyright © 2022 Apache NiFi Project. All rights reserved.