Drools :: Core 6.1.0.Beta1

org.drools.core.rule
Class Rule.SafeConsequence

java.lang.Object
  extended by org.drools.core.rule.Rule.SafeConsequence
All Implemented Interfaces:
Serializable, Consequence, Invoker, RuleComponent
Enclosing class:
Rule

public static class Rule.SafeConsequence
extends Object
implements Consequence, Serializable

See Also:
Serialized Form

Constructor Summary
Rule.SafeConsequence(Consequence delegate)
           
 
Method Summary
 void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)
          Execute the consequence for the supplied matching Tuple.
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule.SafeConsequence

public Rule.SafeConsequence(Consequence delegate)
Method Detail

getName

public String getName()
Specified by:
getName in interface Consequence

evaluate

public void evaluate(KnowledgeHelper knowledgeHelper,
                     WorkingMemory workingMemory)
              throws Exception
Description copied from interface: Consequence
Execute the consequence for the supplied matching Tuple.

Specified by:
evaluate in interface Consequence
workingMemory - The working memory session.
Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.
Exception

Drools :: Core 6.1.0.Beta1

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