public static class Consequence.SafeConsequence extends Object implements Consequence, Serializable
Consequence.SafeConsequence
Constructor and Description |
---|
SafeConsequence(Consequence delegate) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching
Tuple . |
String |
getName() |
boolean |
wrapsCompiledInvoker() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompiledInvoker
public SafeConsequence(Consequence delegate)
public String getName()
getName
in interface Consequence
public void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory) throws Exception
Consequence
Tuple
.evaluate
in interface Consequence
workingMemory
- The working memory session.ConsequenceException
- If an error occurs while attempting to invoke the
consequence.Exception
public boolean wrapsCompiledInvoker()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.