public class LhsBuilder extends Object implements SourceBuilder
Constructor and Description |
---|
LhsBuilder(int row,
int column,
String colDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
addCellValue(int row,
int column,
String value) |
void |
addTemplate(int row,
int column,
String content) |
org.drools.decisiontable.parser.LhsBuilder.FieldType |
calcFieldType(String content)
Work out the type of "field" that is being specified,
as in :
age
age <
age == $param
age == $1 || age == $2
forall{age < $}{,}
etc. as we treat them all differently.
|
void |
clearValues() |
ActionType.Code |
getActionTypeCode() |
String |
getResult() |
boolean |
hasValues() |
public LhsBuilder(int row, int column, String colDefinition)
colDefinition
- The initial column definition that is shared via merged cells.public ActionType.Code getActionTypeCode()
getActionTypeCode
in interface SourceBuilder
public void addTemplate(int row, int column, String content)
addTemplate
in interface SourceBuilder
public void clearValues()
clearValues
in interface SourceBuilder
public void addCellValue(int row, int column, String value)
addCellValue
in interface SourceBuilder
public String getResult()
getResult
in interface SourceBuilder
public org.drools.decisiontable.parser.LhsBuilder.FieldType calcFieldType(String content)
public boolean hasValues()
hasValues
in interface SourceBuilder
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.