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