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

Consequence - JBoss RULES 3.0.6 API 英文版文档


org.drools.spi
Interface Consequence

All Superinterfaces:
Invoker, RuleComponent, java.io.Serializable

public interface Consequence
extends Invoker

Consequence to be fired upon successful match of a Rule.

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 java.lang.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.
java.lang.Exception