org.drools.template.parser
Class RuleTemplate
java.lang.Object
org.drools.template.parser.RuleTemplate
public class RuleTemplate
- extends Object
A rule template made up of a name, the decision table columns required, the
decision table columns that must be empty and the contents of the rule.
RuleTemplate
public RuleTemplate(String n,
TemplateContainer tc)
getName
public String getName()
getColumns
public List<org.drools.template.parser.TemplateColumn> getColumns()
getContents
public String getContents()
addColumn
public void addColumn(String columnString)
setContents
public void setContents(String contents)
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.