Package io.camunda.zeebe.dmn
Interface EvaluatedDecision
- All Known Implementing Classes:
EvaluatedDmnScalaDecision
public interface EvaluatedDecision
An evaluated DMN decision. It contains details of the evaluation depending on the decision type.
-
Method Summary
Modifier and TypeMethodDescriptionorg.agrona.DirectBufferReturns the output of the evaluated decision encoded as MessagePack.If the decision is a decision table then it returns theevaluated inputs.If the decision is a decision table then it returns the matched rules.
-
Method Details
-
decisionId
String decisionId()- Returns:
- the id of the evaluated decision
-
decisionName
String decisionName()- Returns:
- the name of the evaluated decision
-
decisionType
DecisionType decisionType()- Returns:
- the type of the evaluated decision
-
decisionOutput
org.agrona.DirectBuffer decisionOutput()Returns the output of the evaluated decision encoded as MessagePack. If the decision was not evaluated successfully then the output isMsgPackCodes.NIL.- Returns:
- the output of the evaluated decision
-
evaluatedInputs
List<EvaluatedInput> evaluatedInputs()If the decision is a decision table then it returns theevaluated inputs. The inputs are not available for other types of decision.- Returns:
- the evaluated inputs, or an empty list if the decision is not a decision table
-
matchedRules
List<MatchedRule> matchedRules()If the decision is a decision table then it returns the matched rules. Thematched rulesare not available for other types of decision.- Returns:
- the matched rules, or an empty list if the decision is not a decision table
-