当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
RhsBuilder - JBoss RULES 3.0.6 API 英文版文档
org.drools.decisiontable.parser
Class RhsBuilder
java.lang.Object
org.drools.decisiontable.parser.RhsBuilder
- All Implemented Interfaces:
- SourceBuilder
public class RhsBuilder
- extends java.lang.Object
- implements SourceBuilder
Builds up a consequence entry.
Constructor Summary |
RhsBuilder(java.lang.String boundVariable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RhsBuilder
public RhsBuilder(java.lang.String boundVariable)
- Parameters:
boundVariable
- Pass in a bound variable if there is one.
Any cells below then will be called as methods on it.
Leaving it blank will make it work in "classic" mode.
addTemplate
public void addTemplate(int col,
java.lang.String content)
- Specified by:
addTemplate
in interface SourceBuilder
addCellValue
public void addCellValue(int col,
java.lang.String value)
- Specified by:
addCellValue
in interface SourceBuilder
clearValues
public void clearValues()
- Specified by:
clearValues
in interface SourceBuilder
getResult
public java.lang.String getResult()
- Specified by:
getResult
in interface SourceBuilder
hasValues
public boolean hasValues()
- Specified by:
hasValues
in interface SourceBuilder