Package org.drools.core.spi
Interface EvalExpression
-
- All Superinterfaces:
Cloneable
,Invoker
,RuleComponent
- All Known Subinterfaces:
EvalStub
- All Known Implementing Classes:
EvalExpression.SafeEvalExpression
public interface EvalExpression extends Invoker, Cloneable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EvalExpression.SafeEvalExpression
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvalExpression
clone()
default EvalExpression
clonePreservingDeclarations(EvalExpression original)
Object
createContext()
boolean
evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)
static boolean
isCompiledInvoker(EvalExpression expression)
void
replaceDeclaration(Declaration declaration, Declaration resolved)
-
-
-
Method Detail
-
createContext
Object createContext()
-
evaluate
boolean evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context) throws Exception
- Throws:
Exception
-
replaceDeclaration
void replaceDeclaration(Declaration declaration, Declaration resolved)
-
clone
EvalExpression clone()
-
clonePreservingDeclarations
default EvalExpression clonePreservingDeclarations(EvalExpression original)
-
isCompiledInvoker
static boolean isCompiledInvoker(EvalExpression expression)
-
-