org.drools.base.mvel
Class MVELReturnValueExpression
java.lang.Object
org.drools.base.mvel.MVELReturnValueExpression
- All Implemented Interfaces:
- Externalizable, Serializable, MVELCompileable, Invoker, ReturnValueExpression, RuleComponent
public class MVELReturnValueExpression
- extends Object
- implements ReturnValueExpression, MVELCompileable, Externalizable
- See Also:
- Serialized Form
MVELReturnValueExpression
public MVELReturnValueExpression()
MVELReturnValueExpression
public MVELReturnValueExpression(MVELCompilationUnit unit,
String id)
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
compile
public void compile(MVELDialectRuntimeData runtimeData)
- Specified by:
compile
in interface MVELCompileable
createContext
public Object createContext()
- Specified by:
createContext
in interface ReturnValueExpression
evaluate
public FieldValue evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object ctx)
throws Exception
- Specified by:
evaluate
in interface ReturnValueExpression
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
replaceDeclaration
public void replaceDeclaration(Declaration declaration,
Declaration resolved)
- Specified by:
replaceDeclaration
in interface ReturnValueExpression
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.