Drools :: Core 6.1.0.Beta1

org.drools.core.rule
Class PredicateConstraint.SafePredicateExpression

java.lang.Object
  extended by 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

Constructor Summary
PredicateConstraint.SafePredicateExpression(PredicateExpression delegate)
           
 
Method Summary
 Object createContext()
           
 boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateConstraint.SafePredicateExpression

public PredicateConstraint.SafePredicateExpression(PredicateExpression delegate)
Method Detail

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

Drools :: Core 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.