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 ObjectcreateContext()booleanevaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)booleanwrapsCompiledInvoker()
-
-
-
Constructor Detail
-
SafePredicateExpression
public SafePredicateExpression(PredicateExpression delegate)
-
-
Method Detail
-
createContext
public Object createContext()
- Specified by:
createContextin interfacePredicateExpression
-
evaluate
public boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context) throws Exception
- Specified by:
evaluatein interfacePredicateExpression- Throws:
Exception
-
wrapsCompiledInvoker
public boolean wrapsCompiledInvoker()
-
-