Package org.drools.core.spi
Class PredicateExpression.SafePredicateExpression
- java.lang.Object
-
- org.drools.core.spi.PredicateExpression.SafePredicateExpression
-
- All Implemented Interfaces:
Serializable
,Invoker
,PredicateExpression
,RuleComponent
- Enclosing interface:
- PredicateExpression
public static class PredicateExpression.SafePredicateExpression extends Object implements PredicateExpression, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.core.spi.PredicateExpression
PredicateExpression.SafePredicateExpression
-
-
Constructor Summary
Constructors Constructor Description SafePredicateExpression(PredicateExpression delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createContext()
boolean
evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
boolean
wrapsCompiledInvoker()
-
-
-
Constructor Detail
-
SafePredicateExpression
public SafePredicateExpression(PredicateExpression delegate)
-
-
Method Detail
-
createContext
public Object createContext()
- Specified by:
createContext
in interfacePredicateExpression
-
evaluate
public boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context) throws Exception
- Specified by:
evaluate
in interfacePredicateExpression
- Throws:
Exception
-
wrapsCompiledInvoker
public boolean wrapsCompiledInvoker()
-
-