org.drools.base.mvel
Class MVELEnabledExpression

java.lang.Object
  extended by org.drools.base.mvel.MVELEnabledExpression
All Implemented Interfaces:
Externalizable, Serializable, MVELCompileable, Enabled

public class MVELEnabledExpression
extends Object
implements Enabled, MVELCompileable, Externalizable

See Also:
Serialized Form

Constructor Summary
MVELEnabledExpression()
           
MVELEnabledExpression(MVELCompilationUnit unit, String id)
           
 
Method Summary
 void compile(MVELDialectRuntimeData runtimeData)
           
 MVELCompilationUnit getMVELCompilationUnit()
           
 boolean getValue(Tuple tuple, Declaration[] declrs, Rule rule, WorkingMemory workingMemory)
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MVELEnabledExpression

public MVELEnabledExpression()

MVELEnabledExpression

public MVELEnabledExpression(MVELCompilationUnit unit,
                             String id)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getMVELCompilationUnit

public MVELCompilationUnit getMVELCompilationUnit()

compile

public void compile(MVELDialectRuntimeData runtimeData)
Specified by:
compile in interface MVELCompileable

getValue

public boolean getValue(Tuple tuple,
                        Declaration[] declrs,
                        Rule rule,
                        WorkingMemory workingMemory)
Specified by:
getValue in interface Enabled

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.