Drools :: Core 6.2.0.CR4

org.drools.core.definitions.rule.impl
Class RuleImpl.SafeConsequence

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

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

See Also:
Serialized Form

Constructor Summary
RuleImpl.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

RuleImpl.SafeConsequence

public RuleImpl.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.2.0.CR4

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