Package org.drools.core.spi
Class EvalExpression.SafeEvalExpression
- java.lang.Object
-
- org.drools.core.spi.EvalExpression.SafeEvalExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,EvalExpression
,Invoker
,RuleComponent
- Enclosing interface:
- EvalExpression
public static class EvalExpression.SafeEvalExpression extends Object implements EvalExpression, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.core.spi.EvalExpression
EvalExpression.SafeEvalExpression
-
-
Constructor Summary
Constructors Constructor Description SafeEvalExpression(EvalExpression delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvalExpression.SafeEvalExpression
clone()
Object
createContext()
boolean
evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
void
replaceDeclaration(Declaration declaration, Declaration resolved)
boolean
wrapsCompiledInvoker()
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.spi.EvalExpression
clonePreservingDeclarations
-
-
-
-
Constructor Detail
-
SafeEvalExpression
public SafeEvalExpression(EvalExpression delegate)
-
-
Method Detail
-
createContext
public Object createContext()
- Specified by:
createContext
in interfaceEvalExpression
-
evaluate
public boolean evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context) throws Exception
- Specified by:
evaluate
in interfaceEvalExpression
- Throws:
Exception
-
replaceDeclaration
public void replaceDeclaration(Declaration declaration, Declaration resolved)
- Specified by:
replaceDeclaration
in interfaceEvalExpression
-
clone
public EvalExpression.SafeEvalExpression clone()
- Specified by:
clone
in interfaceEvalExpression
- Overrides:
clone
in classObject
-
wrapsCompiledInvoker
public boolean wrapsCompiledInvoker()
-
-