public class MVELHelper
extends java.lang.Object
Constructor and Description |
---|
MVELHelper() |
Modifier and Type | Method and Description |
---|---|
static ExpressionScriptCompiled |
compile(java.lang.String scriptName,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Class> mvelInputParamTypes,
EngineImportService engineImportService) |
static void |
verifyScript(ExpressionScriptProvided script,
EngineImportService engineImportService)
Verify MVEL script (not compiling it).
|
public static void verifyScript(ExpressionScriptProvided script, EngineImportService engineImportService) throws ExprValidationException
script
- to verify/analyzeengineImportService
- engine importsExprValidationException
- when not all parameters are resolvedpublic static ExpressionScriptCompiled compile(java.lang.String scriptName, java.lang.String expression, java.util.Map<java.lang.String,java.lang.Class> mvelInputParamTypes, EngineImportService engineImportService) throws ExprValidationException
ExprValidationException