Package org.drools.core.rule.consequence
Interface Consequence
-
- All Superinterfaces:
Invoker,RuleComponent
- All Known Implementing Classes:
Consequence.SafeConsequence
public interface Consequence extends Invoker
Consequence to be fired upon successful match of aRule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConsequence.SafeConsequence
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevaluate(KnowledgeHelper knowledgeHelper, ReteEvaluator reteEvaluator)Execute the consequence for the supplied matchingTuple.StringgetName()-
Methods inherited from interface org.drools.core.rule.accessor.Invoker
wrapsCompiledInvoker
-
-
-
-
Method Detail
-
getName
String getName()
-
evaluate
void evaluate(KnowledgeHelper knowledgeHelper, ReteEvaluator reteEvaluator) throws Exception
Execute the consequence for the supplied matchingTuple.- Parameters:
knowledgeHelper-reteEvaluator- The working memory session.- Throws:
ConsequenceException- If an error occurs while attempting to invoke the consequence.Exception
-
-