org.drools.base.mvel
Class MVELConsequence

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

public class MVELConsequence
extends java.lang.Object
implements Consequence, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
MVELConsequence(java.io.Serializable expr, DroolsMVELFactory factory)
           
 
Method Summary
 void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)
          Execute the consequence for the supplied matching Tuple.
 java.io.Serializable getCompExpr()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELConsequence

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

evaluate

public void evaluate(KnowledgeHelper knowledgeHelper,
                     WorkingMemory workingMemory)
              throws java.lang.Exception
Description copied from interface: Consequence
Execute the consequence for the supplied matching Tuple.

Specified by:
evaluate in interface Consequence
workingMemory - TODO
Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.
java.lang.Exception

getCompExpr

public java.io.Serializable getCompExpr()