Guvnor web application Drools 6.0.0-SNAPSHOT

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

java.lang.Object
  extended by org.drools.guvnor.server.converters.decisiontable.builders.ParameterUtilities

public class ParameterUtilities
extends Object

Utility class to convert XLS Decision Table parameters from their "$..." format to the "@{...}" format required by the Templating mechanism used with the BRL editors and related DRL generators. Template Keys must be unique across the entire model.


Constructor Summary
ParameterUtilities()
           
 
Method Summary
 String convertIndexedParametersToTemplateKeys(String xlsTemplate)
           
 String convertSingleParameterToTemplateKey(String xlsTemplate)
           
 Set<String> extractTemplateKeys(String template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterUtilities

public ParameterUtilities()
Method Detail

convertIndexedParametersToTemplateKeys

public String convertIndexedParametersToTemplateKeys(String xlsTemplate)

convertSingleParameterToTemplateKey

public String convertSingleParameterToTemplateKey(String xlsTemplate)

extractTemplateKeys

public Set<String> extractTemplateKeys(String template)

Guvnor web application Drools 6.0.0-SNAPSHOT

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