Package org.drools.core.spi
Interface PredicateExpression
-
- All Superinterfaces:
Invoker
,RuleComponent
- All Known Subinterfaces:
PredicateStub
- All Known Implementing Classes:
PredicateExpression.SafePredicateExpression
public interface PredicateExpression extends Invoker
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PredicateExpression.SafePredicateExpression
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
createContext()
boolean
evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
static boolean
isCompiledInvoker(PredicateExpression expression)
-
-
-
Method Detail
-
createContext
Object createContext()
-
evaluate
boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context) throws Exception
- Throws:
Exception
-
isCompiledInvoker
static boolean isCompiledInvoker(PredicateExpression expression)
-
-