org.drools.spi
Interface Consequence

All Superinterfaces:
Invoker, RuleComponent, java.io.Serializable

public interface Consequence
extends Invoker

Consequence to be fired upon successful match of a Rule.

See Also:
Rule
 

Method Summary
 void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)
          Execute the consequence for the supplied matching Tuple.
 

Method Detail

evaluate

public void evaluate(KnowledgeHelper knowledgeHelper,
                     WorkingMemory workingMemory)
              throws java.lang.Exception
Execute the consequence for the supplied matching Tuple.

Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.
java.lang.Exception
Parameters:
workingMemory - TODO