Class ParameterUtilities
- java.lang.Object
-
- org.drools.workbench.screens.dtablexls.backend.server.conversion.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
Constructors Constructor Description ParameterUtilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconvertIndexedParametersToTemplateKeys(String xlsTemplate, ParameterizedValueBuilder.Part part)StringconvertSingleParameterToTemplateKey(String xlsTemplate, ParameterizedValueBuilder.Part part)Set<String>extractTemplateKeys(String template)
-
-
-
Method Detail
-
convertIndexedParametersToTemplateKeys
public String convertIndexedParametersToTemplateKeys(String xlsTemplate, ParameterizedValueBuilder.Part part)
-
convertSingleParameterToTemplateKey
public String convertSingleParameterToTemplateKey(String xlsTemplate, ParameterizedValueBuilder.Part part)
-
-