Interface EvaluatedDecisionValue

All Superinterfaces:
JsonSerializable, RecordValue
All Known Implementing Classes:
ImmutableEvaluatedDecisionValue

@Immutable public interface EvaluatedDecisionValue extends RecordValue
An evaluated DMN decision. It contains details of the evaluation depending on the decision type.
  • 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 the evaluated 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. The matched rules are not available for other types of decision.
      Returns:
      the matched rules, or an empty list if the decision is not a decision table