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
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-2011 JBoss by Red Hat. All Rights Reserved.