Package org.drools.decisiontable.parser
Class RhsBuilder
java.lang.Object
org.drools.decisiontable.parser.RhsBuilder
- All Implemented Interfaces:
SourceBuilder
Builds up a consequence entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCellValue(int row, int column, String value) voidaddTemplate(int row, int column, String content) voidintbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.decisiontable.parser.SourceBuilder
addCellValue
-
Constructor Details
-
RhsBuilder
- 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.
-
-
Method Details
-
getActionTypeCode
- Specified by:
getActionTypeCodein interfaceSourceBuilder
-
addTemplate
- Specified by:
addTemplatein interfaceSourceBuilder
-
addCellValue
- Specified by:
addCellValuein interfaceSourceBuilder
-
clearValues
public void clearValues()- Specified by:
clearValuesin interfaceSourceBuilder
-
getResult
- Specified by:
getResultin interfaceSourceBuilder
-
hasValues
public boolean hasValues()- Specified by:
hasValuesin interfaceSourceBuilder
-
getColumn
public int getColumn()- Specified by:
getColumnin interfaceSourceBuilder
-