public class MVELHelper extends Object
Constructor and Description |
---|
MVELHelper() |
Modifier and Type | Method and Description |
---|---|
static ExpressionScriptCompiled |
compile(String scriptName,
String expression,
Map<String,Class> mvelInputParamTypes,
ClasspathImportService classpathImportService) |
static void |
verifyScript(ExpressionScriptProvided script,
ClasspathImportService classpathImportService)
Verify MVEL script (not compiling it).
|
public static void verifyScript(ExpressionScriptProvided script, ClasspathImportService classpathImportService) throws ExprValidationException
script
- to verify/analyzeclasspathImportService
- importsExprValidationException
- when not all parameters are resolvedpublic static ExpressionScriptCompiled compile(String scriptName, String expression, Map<String,Class> mvelInputParamTypes, ClasspathImportService classpathImportService) throws ExprValidationException
ExprValidationException
Copyright © 2005–2018. All rights reserved.