当前页面:
在线文档首页 >
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
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Package
public Package(String name)
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.