Package com.northconcepts.datapipeline.foundations.decisiontable
package com.northconcepts.datapipeline.foundations.decisiontable
Decision table rule engine.
-
ClassesClassDescriptionEvaluates rules in order against a record and returns the outcomes of the first rule whose conditions all hold, or the default outcomes if none does.A condition of a
DecisionTableRule: a logical expression in which?stands for the condition's variable.Base class for the decision table classes: the table, its rules, conditions and outcomes, and its results.An outcome of aDecisionTableRule, or a default outcome of aDecisionTable: sets the result field named by its variable to the value of its expression.Evaluates aDecisionTablefor each record read from a nested reader and adds the outcome fields to the record.The result of evaluating aDecisionTable: the rule that fired and the outcome fields.A rule of aDecisionTablethat fires when all its conditions hold, setting the result fields with its outcomes.Evaluates aDecisionTablefor each record and adds the outcome fields to it before writing it to a nested writer.