Package org.drools.base.rule.consequence
Interface Consequence<T extends ConsequenceContext>
-
- All Superinterfaces:
Invoker,RuleComponent
public interface Consequence<T extends ConsequenceContext> extends Invoker
Consequence to be fired upon successful match of aRule.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevaluate(T knowledgeHelper, ValueResolver valueResolver)Execute the consequence for the supplied matchingTuple.java.lang.StringgetName()-
Methods inherited from interface org.drools.base.rule.accessor.Invoker
wrapsCompiledInvoker
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
evaluate
void evaluate(T knowledgeHelper, ValueResolver valueResolver) throws java.lang.Exception
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.java.lang.Exception
-
-