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 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 is MsgPackCodes.NIL.
      Returns:
      the output of the evaluated decision
    • evaluatedInputs

      List<EvaluatedInput> evaluatedInputs()
      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
    • matchedRules

      List<MatchedRule> matchedRules()
      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