org.drools.core.rule
Class Rule.SafeConsequence
java.lang.Object
org.drools.core.rule.Rule.SafeConsequence
- All Implemented Interfaces:
- Serializable, Consequence, Invoker, RuleComponent
- Enclosing class:
- Rule
public static class Rule.SafeConsequence
- extends Object
- implements Consequence, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rule.SafeConsequence
public Rule.SafeConsequence(Consequence delegate)
getName
public String getName()
- Specified by:
getName in interface Consequence
evaluate
public void evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
throws Exception
- Description copied from interface:
Consequence
- Execute the consequence for the supplied matching
Tuple.
- Specified by:
evaluate in interface Consequence
workingMemory - The working memory session.
- Throws:
ConsequenceException - If an error occurs while attempting to invoke the
consequence.
Exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.