public class KiePMMLCompoundPredicateWithAccumulationASTFactory extends Object
KiePMMLDroolsRules out of a CompoundPredicate| Constructor and Description |
|---|
KiePMMLCompoundPredicateWithAccumulationASTFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
declareRuleFromCompoundPredicateAndOrXor(KiePMMLDroolsRule.Builder builder,
List<KiePMMLDroolsRule> rules,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
Method to be invoked when compoundPredicate.getBooleanOperator() is
AND, OR or
|
static void |
declareRuleFromCompoundPredicateSurrogate(PredicateASTFactoryData predicateASTFactoryData,
String agendaActivationGroup,
Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
Method to be invoked when compoundPredicate.getBooleanOperator() is
SURROGATE. |
public KiePMMLCompoundPredicateWithAccumulationASTFactory()
public static void declareRuleFromCompoundPredicateSurrogate(PredicateASTFactoryData predicateASTFactoryData, String agendaActivationGroup, Number toAccumulate, String statusToSet, KiePMMLReasonCodeAndValue reasonCodeAndValue, boolean isLastCharacteristic)
SURROGATE.
Throws exception otherwisepredicateASTFactoryData - agendaActivationGroup - toAccumulate - statusToSet - reasonCodeAndValue - isLastCharacteristic - public static void declareRuleFromCompoundPredicateAndOrXor(KiePMMLDroolsRule.Builder builder, List<KiePMMLDroolsRule> rules, KiePMMLReasonCodeAndValue reasonCodeAndValue, boolean isLastCharacteristic)
AND, OR or
builder - rules - reasonCodeAndValue - isLastCharacteristic - Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.