org.drools.core.rule
Class PredicateConstraint.SafePredicateExpression
java.lang.Object
org.drools.core.rule.PredicateConstraint.SafePredicateExpression
- All Implemented Interfaces:
- Serializable, Invoker, PredicateExpression, RuleComponent
- Enclosing class:
- PredicateConstraint
public static class PredicateConstraint.SafePredicateExpression
- extends Object
- implements PredicateExpression, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PredicateConstraint.SafePredicateExpression
public PredicateConstraint.SafePredicateExpression(PredicateExpression delegate)
createContext
public Object createContext()
- Specified by:
createContext in interface PredicateExpression
evaluate
public boolean evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context)
throws Exception
- Specified by:
evaluate in interface PredicateExpression
- Throws:
Exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.