Class KiePMMLCompoundPredicateWithResultASTFactory


  • public class KiePMMLCompoundPredicateWithResultASTFactory
    extends Object
    Class used to generate KiePMMLDroolsRules out of a CompoundPredicate
    • Constructor Detail

      • KiePMMLCompoundPredicateWithResultASTFactory

        public KiePMMLCompoundPredicateWithResultASTFactory()
    • Method Detail

      • declareRuleFromCompoundPredicateSurrogate

        public static void declareRuleFromCompoundPredicateSurrogate​(PredicateASTFactoryData predicateASTFactoryData,
                                                                     String agendaActivationGroup,
                                                                     Object result,
                                                                     boolean isFinalLeaf)
        Method to be invoked when compoundPredicate.getBooleanOperator() is SURROGATE. Throws exception otherwise
        Parameters:
        predicateASTFactoryData -
        agendaActivationGroup -
        result -
        isFinalLeaf -
      • declareRuleFromCompoundPredicateAndOrXor

        public static void declareRuleFromCompoundPredicateAndOrXor​(KiePMMLDroolsRule.Builder builder,
                                                                    List<KiePMMLDroolsRule> rules,
                                                                    Object result,
                                                                    boolean isFinalLeaf)
        Method to be invoked when compoundPredicate.getBooleanOperator() is AND, OR or XOR. Throws exception otherwise
        Parameters:
        builder -
        rules -
        result -
        isFinalLeaf -