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,
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(String scriptName, String expression, Map<String,Class> mvelInputParamTypes, EngineImportService engineImportService) throws ExprValidationException
ExprValidationException