public static class RuleImpl.SafeConsequence extends Object implements Consequence, Serializable
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() |
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
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.