站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Consequence (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.spi
Interface Consequence

All Superinterfaces:
Invoker, RuleComponent, Serializable
All Known Implementing Classes:
MVELConsequence

public interface Consequence
extends Invoker

Consequence to be fired upon successful match of a Rule.

Author:
bob mcwhirter
See Also:
Rule

Method Summary
 void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)
          Execute the consequence for the supplied matching Tuple.
 

Method Detail

evaluate

void evaluate(KnowledgeHelper knowledgeHelper,
              WorkingMemory workingMemory)
              throws Exception
Execute the consequence for the supplied matching Tuple.

Parameters:
activation - TODO
workingMemory - TODO
workingMemory - The working memory session.
Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.
Exception


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.