org.drools.core.spi
Interface Consequence
- All Superinterfaces:
- Invoker, RuleComponent
- All Known Subinterfaces:
- ConsequenceStub
- All Known Implementing Classes:
- MVELConsequence, Rule.SafeConsequence
public interface Consequence
- extends Invoker
Consequence to be fired upon successful match of a Rule.
- See Also:
org.kie.rule.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-2014 JBoss by Red Hat. All Rights Reserved.