public interface Consequence extends Invoker
Rule.org.kie.rule.Rule| Modifier and Type | Interface and Description |
|---|---|
static class |
Consequence.SafeConsequence |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching
Tuple. |
String |
getName() |
default void |
initDeclarations(Declaration[] requiredDeclarations) |
static boolean |
isCompiledInvoker(Consequence consequence) |
String getName()
void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory) throws Exception
Tuple.knowledgeHelper - workingMemory - The working memory session.ConsequenceException - If an error occurs while attempting to invoke the
consequence.Exceptiondefault void initDeclarations(Declaration[] requiredDeclarations)
static boolean isCompiledInvoker(Consequence consequence)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.