Package | Description |
---|---|
org.kie.dmn.feel.runtime.decisiontables |
Modifier and Type | Class and Description |
---|---|
class |
DTDecisionRule
8.3.3 Decision Rule metamodel
The class DecisionRule is used to model the rules in a decision table (see 8.2 Notation).
|
Modifier and Type | Method and Description |
---|---|
static Object |
HitPolicy.any(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
Any – multiple rules can match, but they all have the same output
|
static Map<Integer,String> |
DecisionTableImpl.checkResults(List<? extends DecisionTable.OutputClause> outputs,
EvaluationContext ctx,
List<? extends Indexed> matches,
List<Object> results) |
static Object |
HitPolicy.countCollect(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
C# – return the count of the outputs
|
Object |
HitPolicy.HitPolicyDTI.dti(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results) |
static Object |
HitPolicy.first(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
First – return the first match in rule order
|
static Object |
HitPolicy.maxCollect(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
C> – return the maximum-valued output
|
static Object |
HitPolicy.minCollect(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
C< – return the minimum-valued output
|
static Object |
HitPolicy.notImplemented(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results) |
static Object |
HitPolicy.outputOrder(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
Output order – return a list of outputs in the order of the output values list
|
static Object |
HitPolicy.priority(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
Priority – multiple rules can match, with different outputs.
|
static Object |
HitPolicy.ruleOrder(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
Rule order – return a list of outputs in rule order
Collect – return a list of the outputs in arbitrary order
|
static Object |
HitPolicy.sumCollect(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
C+ – return the sum of the outputs
|
static Object |
HitPolicy.unique(EvaluationContext ctx,
DecisionTable dt,
List<? extends Indexed> matches,
List<Object> results)
Unique – only a single rule can be matched
|
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.