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

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


org.drools.reteoo.builder
Class ReteooRuleBuilder

java.lang.Object
  extended by org.drools.reteoo.builder.ReteooRuleBuilder

public class ReteooRuleBuilder
extends Object

Author:
etirelli

Constructor Summary
ReteooRuleBuilder()
           
 
Method Summary
 List addRule(Rule rule, ReteooRuleBase rulebase, ReteooBuilder.IdGenerator idGenerator)
          Creates the corresponting Rete network for the given Rule and adds it to the given rule base.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteooRuleBuilder

public ReteooRuleBuilder()
Method Detail

addRule

public List addRule(Rule rule,
                    ReteooRuleBase rulebase,
                    ReteooBuilder.IdGenerator idGenerator)
             throws InvalidPatternException
Creates the corresponting Rete network for the given Rule and adds it to the given rule base.

Parameters:
rule - The rule to add.
rulebase - The rulebase to add the rule to.
Returns:
a List of terminal nodes for the rule
Throws:
RuleIntegrationException - if an error prevents complete construction of the network for the Rule.
InvalidPatternException


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