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

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


org.drools.decisiontable.parser
Class DefaultTemplateRuleBase

java.lang.Object
  extended by org.drools.decisiontable.parser.DefaultTemplateRuleBase
All Implemented Interfaces:
TemplateRuleBase

public class DefaultTemplateRuleBase
extends Object
implements TemplateRuleBase

Author:
Steven Williams Create a rule base for the set of rule templates in the TemplateContainer. These rules are used internally by the engine to generate the actual decision table rules based on which columns have been filled in. Basically, if a rule template requires columns A and B then the template rule base will generate a rule with columns A and B as the LHS and a RHS which triggers the rule to be generated. ie. rule "template1" when r : Row() Cell(row == r, column == "column1") Cell(row == r, column == "column2") then generator.generate( "template1", r); end

Constructor Summary
DefaultTemplateRuleBase(TemplateContainer tc)
           
 
Method Summary
 StatefulSession newStatefulSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTemplateRuleBase

public DefaultTemplateRuleBase(TemplateContainer tc)
Method Detail

newStatefulSession

public StatefulSession newStatefulSession()
Specified by:
newStatefulSession in interface TemplateRuleBase


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