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

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


org.drools.decisiontable.model
Class Package

java.lang.Object
  extended by org.drools.decisiontable.model.Package
All Implemented Interfaces:
DRLJavaEmitter

public class Package
extends Object
implements DRLJavaEmitter

Author:
Michael Neale This is the top of the parse tree. Represents a package of rules once it has been parsed from the spreadsheet. Also is the launching point for dumping out the DRL.

Constructor Summary
Package(String name)
           
 
Method Summary
 void addFunctions(String listing)
           
 void addImport(Import imp)
           
 void addRule(Rule rule)
           
 void addVariable(Global varz)
           
 List getImports()
           
 String getName()
           
 List getRules()
           
 List getVariables()
           
 void renderDRL(DRLOutput out)
          Each node can add its contribution to the output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Package

public Package(String name)
Method Detail

addImport

public void addImport(Import imp)

addVariable

public void addVariable(Global varz)

addRule

public void addRule(Rule rule)

addFunctions

public void addFunctions(String listing)

getName

public String getName()

getImports

public List getImports()

getVariables

public List getVariables()

getRules

public List getRules()

renderDRL

public void renderDRL(DRLOutput out)
Description copied from interface: DRLJavaEmitter
Each node can add its contribution to the output

Specified by:
renderDRL in interface DRLJavaEmitter


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