Package org.drools.base.rule.consequence
Interface Consequence<T extends ConsequenceContext>
- All Superinterfaces:
Invoker,RuleComponent
Consequence to be fired upon successful match of a
Rule.-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(T knowledgeHelper, ValueResolver valueResolver) Execute the consequence for the supplied matchingTuple.getName()Methods inherited from interface org.drools.base.rule.accessor.Invoker
wrapsCompiledInvoker
-
Method Details
-
getName
String getName() -
evaluate
Execute the consequence for the supplied matchingTuple.- Parameters:
knowledgeHelper-valueResolver- The working memory session.- Throws:
ConsequenceException- If an error occurs while attempting to invoke the consequence.Exception
-