Package org.drools.core.spi
Interface Consequence
-
- All Superinterfaces:
Invoker,RuleComponent
- All Known Subinterfaces:
ConsequenceStub
- 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 Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevaluate(KnowledgeHelper knowledgeHelper, ReteEvaluator reteEvaluator)Execute the consequence for the supplied matchingTuple.StringgetName()static booleanisCompiledInvoker(Consequence consequence)
-
-
-
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
-
isCompiledInvoker
static boolean isCompiledInvoker(Consequence consequence)
-
-