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() |
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.Exception
static boolean isCompiledInvoker(Consequence consequence)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.