public class DmnEvaluator extends Object
Modifier and Type | Method and Description |
---|---|
static DmnEvaluator |
create(ExecutionContext ctx,
HitPolicy hitPolicy,
com.whitestein.lsps.stdlib.dmn.DmnExpressionEvaluator expressionEvaluator,
String module,
List<Parameter> inputs,
List<Parameter> outputs,
List<Rule> rules)
Creates an evaluator instance.
|
ListHolder |
evaluateList(ListHolder inputValues)
Evaluates the decision table.
|
ListHolder |
evaluateMap(MapHolder inputValues)
Evaluates the decision table.
|
public static DmnEvaluator create(ExecutionContext ctx, HitPolicy hitPolicy, com.whitestein.lsps.stdlib.dmn.DmnExpressionEvaluator expressionEvaluator, String module, List<Parameter> inputs, List<Parameter> outputs, List<Rule> rules) throws ValidationException
ctx
- hitPolicy
- expressionEvaluator
- module
- inputs
- outputs
- rules
- ValidationException
public ListHolder evaluateMap(MapHolder inputValues) throws ErrorException, ValidationException
inputValues
- ErrorException
ValidationException
public ListHolder evaluateList(ListHolder inputValues) throws ErrorException, ValidationException
inputValues
- ErrorException
ValidationException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.