org.drools.core.definitions.rule.impl
Class RuleImpl.SafeConsequence
java.lang.Object
org.drools.core.definitions.rule.impl.RuleImpl.SafeConsequence
- All Implemented Interfaces:
- Serializable, Consequence, Invoker, RuleComponent
- Enclosing class:
- RuleImpl
public static class RuleImpl.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 |
RuleImpl.SafeConsequence
public RuleImpl.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.