com.espertech.esper.epl.script.mvel
Class MVELHelper

java.lang.Object
  extended by com.espertech.esper.epl.script.mvel.MVELHelper

public class MVELHelper
extends java.lang.Object

============= Without MVEL dependencies in classpath, this call verifies and compiles an MVEL script. =============


Constructor Summary
MVELHelper()
           
 
Method Summary
static ExpressionScriptCompiled compile(java.lang.String scriptName, java.lang.String expression, java.util.Map<java.lang.String,java.lang.Class> mvelInputParamTypes)
           
static void verifyScript(ExpressionScriptProvided script)
          Verify MVEL script (not compiling it).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELHelper

public MVELHelper()
Method Detail

verifyScript

public static void verifyScript(ExpressionScriptProvided script)
                         throws ExprValidationException
Verify MVEL script (not compiling it). Compiling is done by the first expression node using the expression since only then parameter types can be bound.

Parameters:
script - to verify/analyze
Throws:
ExprValidationException - when not all parameters are resolved

compile

public static ExpressionScriptCompiled compile(java.lang.String scriptName,
                                               java.lang.String expression,
                                               java.util.Map<java.lang.String,java.lang.Class> mvelInputParamTypes)
                                        throws ExprValidationException
Throws:
ExprValidationException

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com