Search in sources :

Example 1 with DmnEvaluatedDecisionRuleImpl

use of org.camunda.bpm.dmn.engine.impl.delegate.DmnEvaluatedDecisionRuleImpl in project camunda-engine-dmn by camunda.

the class DecisionTableEvaluationHandler method evaluateMatchingRule.

protected DmnEvaluatedDecisionRule evaluateMatchingRule(List<DmnDecisionTableOutputImpl> decisionTableOutputs, DmnDecisionTableRuleImpl matchingRule, VariableContext variableContext) {
    DmnEvaluatedDecisionRuleImpl evaluatedDecisionRule = new DmnEvaluatedDecisionRuleImpl(matchingRule);
    Map<String, DmnEvaluatedOutput> outputEntries = evaluateOutputEntries(decisionTableOutputs, matchingRule, variableContext);
    evaluatedDecisionRule.setOutputEntries(outputEntries);
    return evaluatedDecisionRule;
}
Also used : DmnEvaluatedDecisionRuleImpl(org.camunda.bpm.dmn.engine.impl.delegate.DmnEvaluatedDecisionRuleImpl) DmnEvaluatedOutput(org.camunda.bpm.dmn.engine.delegate.DmnEvaluatedOutput)

Aggregations

DmnEvaluatedOutput (org.camunda.bpm.dmn.engine.delegate.DmnEvaluatedOutput)1 DmnEvaluatedDecisionRuleImpl (org.camunda.bpm.dmn.engine.impl.delegate.DmnEvaluatedDecisionRuleImpl)1