org.drools.base.mvel
Class MVELEvalExpression

java.lang.Object
  extended by org.drools.base.mvel.MVELEvalExpression
All Implemented Interfaces:
java.io.Serializable, EvalExpression, Invoker, RuleComponent

public class MVELEvalExpression
extends java.lang.Object
implements EvalExpression, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
MVELEvalExpression(java.io.Serializable expr, DroolsMVELFactory factory)
           
 
Method Summary
 java.lang.Object createContext()
           
 boolean evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, java.lang.Object context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELEvalExpression

public MVELEvalExpression(java.io.Serializable expr,
                          DroolsMVELFactory factory)
Method Detail

createContext

public java.lang.Object createContext()
Specified by:
createContext in interface EvalExpression

evaluate

public boolean evaluate(Tuple tuple,
                        Declaration[] requiredDeclarations,
                        WorkingMemory workingMemory,
                        java.lang.Object context)
                 throws java.lang.Exception
Specified by:
evaluate in interface EvalExpression
Throws:
java.lang.Exception