public static class Rule.SafeConsequence extends Object implements Consequence, Serializable
Constructor and Description |
---|
Rule.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 Rule.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-2014 JBoss by Red Hat. All Rights Reserved.