use of org.drools.workbench.models.guided.dtable.shared.model.BRLVariableColumn in project drools-wb by kiegroup.
the class GuidedDecisionTableLHSBuilder method addLiteralColumn.
private List<BRLVariableColumn> addLiteralColumn(final LiteralValueBuilder vb) {
final List<BRLVariableColumn> variableColumns = new ArrayList<BRLVariableColumn>();
final BRLConditionVariableColumn parameterColumn = new BRLConditionVariableColumn("", DataType.TYPE_BOOLEAN);
variableColumns.add(parameterColumn);
// Store DRL fragment for use by GuidedDecisionTableRHSBuilder
drlFragments.add(vb.getTemplate());
return variableColumns;
}
use of org.drools.workbench.models.guided.dtable.shared.model.BRLVariableColumn in project drools-wb by kiegroup.
the class GuidedDecisionTableRHSBuilder method addBRLFragmentColumn.
private List<BRLVariableColumn> addBRLFragmentColumn(final ParameterizedValueBuilder vb) {
final List<BRLVariableColumn> variableColumns = new ArrayList<BRLVariableColumn>();
for (String parameter : vb.getParameters()) {
final BRLActionVariableColumn parameterColumn = new BRLActionVariableColumn(parameter, DataType.TYPE_OBJECT);
variableColumns.add(parameterColumn);
}
// Store DRL fragment for use by GuidedDecisionTableRHSBuilder
drlFragments.add(vb.getTemplate());
return variableColumns;
}
use of org.drools.workbench.models.guided.dtable.shared.model.BRLVariableColumn in project drools-wb by kiegroup.
the class GuidedDecisionTableRHSBuilder method addLiteralColumn.
private List<BRLVariableColumn> addLiteralColumn(final LiteralValueBuilder vb) {
final List<BRLVariableColumn> variableColumns = new ArrayList<BRLVariableColumn>();
final BRLActionVariableColumn parameterColumn = new BRLActionVariableColumn("", DataType.TYPE_BOOLEAN);
variableColumns.add(parameterColumn);
// Store DRL fragment for use by GuidedDecisionTableRHSBuilder
drlFragments.add(vb.getTemplate());
return variableColumns;
}
Aggregations