Drools :: Templates 6.2.0-SNAPSHOT

org.drools.template.parser
Class RuleTemplate

java.lang.Object
  extended by 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.


Constructor Summary
RuleTemplate(String n, TemplateContainer tc)
           
RuleTemplate(String n, TemplateContainer tc, boolean replaceOptionals)
           
 
Method Summary
 void addColumn(String columnString)
           
 List<org.drools.template.parser.TemplateColumn> getColumns()
           
 String getContents()
           
 String getName()
           
 void setContents(String contents)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleTemplate

public RuleTemplate(String n,
                    TemplateContainer tc)

RuleTemplate

public RuleTemplate(String n,
                    TemplateContainer tc,
                    boolean replaceOptionals)
Method Detail

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()

Drools :: Templates 6.2.0-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.