use of org.camunda.bpm.dmn.engine.impl.DmnExpressionImpl in project camunda-engine-dmn by camunda.
the class DecisionTableEvaluationHandler method evaluateInput.
protected DmnEvaluatedInput evaluateInput(DmnDecisionTableInputImpl input, VariableContext variableContext) {
DmnEvaluatedInputImpl evaluatedInput = new DmnEvaluatedInputImpl(input);
DmnExpressionImpl expression = input.getExpression();
if (expression != null) {
Object value = evaluateInputExpression(expression, variableContext);
TypedValue typedValue = expression.getTypeDefinition().transform(value);
evaluatedInput.setValue(typedValue);
} else {
evaluatedInput.setValue(Variables.untypedNullValue());
}
return evaluatedInput;
}
Aggregations