public class KiePMMLDroolsModelUtils extends Object
KiePMMLDroolsModels| Modifier and Type | Method and Description |
|---|---|
static Object |
getCorrectlyFormattedResult(Object rawValue,
DATA_TYPE targetType)
Return an
Object correctly formatted to be put in drl (e.g. if the targetType
is DATA_TYPE.STRING returns the quoted rawValue. |
public static Object getCorrectlyFormattedResult(Object rawValue, DATA_TYPE targetType)
Object correctly formatted to be put in drl (e.g. if the targetType
is DATA_TYPE.STRING returns the quoted rawValue.
If rawValue is null, returns null
rawValue - targetType - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.