org.drools.spi
Interface Consequence

All Superinterfaces:
Invoker, RuleComponent
All Known Implementing Classes:
MVELConsequence

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.
 String getName()
           
 

Method Detail

getName

String getName()

evaluate

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

Parameters:
knowledgeHelper -
workingMemory - The working memory session.
Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.
Exception


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.