Interface EvaluatedDecisionValue
- All Superinterfaces:
JsonSerializable,RecordValue
- All Known Implementing Classes:
ImmutableEvaluatedDecisionValue
An evaluated DMN decision. It contains details of the evaluation depending on the decision type.
-
Method Summary
Modifier and TypeMethodDescriptionlongintIf the decision is a decision table then it returns theevaluated inputs.If the decision is a decision table then it returns the matched rules.Methods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJson
-
Method Details
-
getDecisionId
String getDecisionId()- Returns:
- the id of the evaluated decision
-
getDecisionName
String getDecisionName()- Returns:
- the name of the evaluated decision
-
getDecisionKey
long getDecisionKey()- Returns:
- the key of the evaluated decision
-
getDecisionVersion
int getDecisionVersion()- Returns:
- the version of the evaluated decision
-
getDecisionType
String getDecisionType()- Returns:
- the type of the evaluated decision
-
getDecisionOutput
String getDecisionOutput()- Returns:
- the output of the evaluated decision as JSON string
-
getEvaluatedInputs
List<EvaluatedInputValue> getEvaluatedInputs()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
-
getMatchedRules
List<MatchedRuleValue> getMatchedRules()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
-