Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.server.converters.decisiontable.builders
Class GuidedDecisionTableMetadataBuilder

java.lang.Object
  extended by org.drools.guvnor.server.converters.decisiontable.builders.GuidedDecisionTableMetadataBuilder
All Implemented Interfaces:
org.drools.decisiontable.parser.SourceBuilder, GuidedDecisionTableSourceBuilder

public class GuidedDecisionTableMetadataBuilder
extends Object
implements GuidedDecisionTableSourceBuilder

Builder for Metadata columns


Constructor Summary
GuidedDecisionTableMetadataBuilder(int row, int column, ConversionResult conversionResult)
           
 
Method Summary
 void addCellValue(int row, int column, String value)
           
 void addTemplate(int row, int column, String content)
           
 void clearValues()
           
 org.drools.decisiontable.parser.ActionType.Code getActionTypeCode()
           
 String getResult()
           
 boolean hasValues()
           
 void populateDecisionTable(GuidedDecisionTable52 dtable)
          Populate the given Decision Table with details of the parsed column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTableMetadataBuilder

public GuidedDecisionTableMetadataBuilder(int row,
                                          int column,
                                          ConversionResult conversionResult)
Method Detail

populateDecisionTable

public void populateDecisionTable(GuidedDecisionTable52 dtable)
Description copied from interface: GuidedDecisionTableSourceBuilder
Populate the given Decision Table with details of the parsed column. Actions should include adding applicable columns and data to the underlying model.

Specified by:
populateDecisionTable in interface GuidedDecisionTableSourceBuilder

addTemplate

public void addTemplate(int row,
                        int column,
                        String content)
Specified by:
addTemplate in interface org.drools.decisiontable.parser.SourceBuilder

addCellValue

public void addCellValue(int row,
                         int column,
                         String value)
Specified by:
addCellValue in interface org.drools.decisiontable.parser.SourceBuilder

getActionTypeCode

public org.drools.decisiontable.parser.ActionType.Code getActionTypeCode()
Specified by:
getActionTypeCode in interface org.drools.decisiontable.parser.SourceBuilder

clearValues

public void clearValues()
Specified by:
clearValues in interface org.drools.decisiontable.parser.SourceBuilder

hasValues

public boolean hasValues()
Specified by:
hasValues in interface org.drools.decisiontable.parser.SourceBuilder

getResult

public String getResult()
Specified by:
getResult in interface org.drools.decisiontable.parser.SourceBuilder

Guvnor web application Drools 6.0.0-SNAPSHOT

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