Class KiePMMLDroolsModelUtils
- java.lang.Object
-
- org.kie.pmml.models.drools.commons.utils.KiePMMLDroolsModelUtils
-
public class KiePMMLDroolsModelUtils extends Object
Static utility methods forKiePMMLDroolsModels
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectgetCorrectlyFormattedResult(Object rawValue, org.kie.pmml.api.enums.DATA_TYPE targetType)Return anObjectcorrectly formatted to be put in drl (e.g. if the targetType isDATA_TYPE.STRINGreturns the quoted rawValue.
-
-
-
Method Detail
-
getCorrectlyFormattedResult
public static Object getCorrectlyFormattedResult(Object rawValue, org.kie.pmml.api.enums.DATA_TYPE targetType)
Return anObjectcorrectly formatted to be put in drl (e.g. if the targetType isDATA_TYPE.STRINGreturns the quoted rawValue.If rawValue is
null, returnsnull- Parameters:
rawValue-targetType-- Returns:
-
-