| Package | Description |
|---|---|
| org.kie.pmml.models.drools.ast | |
| org.kie.pmml.models.drools.ast.factories |
| Modifier and Type | Method and Description |
|---|---|
KiePMMLReasonCodeAndValue |
KiePMMLDroolsRule.getReasonCodeAndValue() |
| Modifier and Type | Method and Description |
|---|---|
KiePMMLDroolsRule.Builder |
KiePMMLDroolsRule.Builder.withReasonCodeAndValue(KiePMMLReasonCodeAndValue reasonCodeAndValue)
Add the given reasonCode to the ordered map of matched reason codes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KiePMMLCompoundPredicateASTFactory.declareRuleFromCompoundPredicate(Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic) |
static void |
KiePMMLCompoundPredicateWithAccumulationASTFactory.declareRuleFromCompoundPredicateAndOrXor(KiePMMLDroolsRule.Builder builder,
List<KiePMMLDroolsRule> rules,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
Method to be invoked when compoundPredicate.getBooleanOperator() is
AND, OR or
|
static void |
KiePMMLCompoundPredicateWithAccumulationASTFactory.declareRuleFromCompoundPredicateSurrogate(PredicateASTFactoryData predicateASTFactoryData,
String agendaActivationGroup,
Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
Method to be invoked when compoundPredicate.getBooleanOperator() is
SURROGATE. |
void |
KiePMMLPredicateASTFactory.declareRuleFromPredicate(Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
Manage the given
Predicate. |
void |
KiePMMLSimplePredicateASTFactory.declareRuleFromSimplePredicate(Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic)
This method will create a rule that, in the RHS,
1) update the status (used for flowing between rules)
2) add outputfields to result variables
3) eventually set the value to accumulate
rule "_ResidenceStateScore_1"
when
$statusHolder : KiePMMLStatusHolder( status == "_ResidenceStateScore" )
RESIDENCESTATE( value == "KN" )
then
$statusHolder.setStatus("_ResidenceStateScore_1");
$statusHolder.accumulate("10.0");
update($statusHolder);
$outputFieldsMap.put("rank-" + $outputFieldsMap.size(), "_reasonCode_");
end
end
|
void |
KiePMMLSimplePredicateASTFactory.declareRuleFromSimplePredicateSurrogate(String agendaActivationGroup,
Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic) |
void |
KiePMMLSimpleSetPredicateASTFactory.declareRuleFromSimpleSetPredicate(Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic) |
static void |
KiePMMLTruePredicateWithAccumulationASTFactory.declareRuleFromTruePredicate(KiePMMLDroolsRule.Builder builder,
List<KiePMMLDroolsRule> rules,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic) |
void |
KiePMMLTruePredicateASTFactory.declareRuleFromTruePredicateWithAccumulation(Number toAccumulate,
String statusToSet,
KiePMMLReasonCodeAndValue reasonCodeAndValue,
boolean isLastCharacteristic) |
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.