Interface EvaluatedDecision

All Known Implementing Classes:
EvaluatedDecisionImpl

public interface EvaluatedDecision
  • Method Details

    • getDecisionId

      String getDecisionId()
      Returns:
      the decision ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
    • getDecisionVersion

      int getDecisionVersion()
      Returns:
      the assigned decision version
    • getDecisionKey

      long getDecisionKey()
      Returns:
      the assigned decision key, which acts as a unique identifier for this decision
    • getDecisionName

      String getDecisionName()
      Returns:
      the name of the decision, as parsed during deployment
    • getDecisionType

      String getDecisionType()
      Returns:
      the type of the evaluated decision
    • getDecisionOutput

      String getDecisionOutput()
      Returns:
      the output of the evaluated decision
    • getEvaluatedInputs

      List<EvaluatedDecisionInput> getEvaluatedInputs()
      Returns:
      the decision inputs that were evaluated within this decision evaluation
    • getMatchedRules

      List<MatchedDecisionRule> getMatchedRules()
      Returns:
      the decision rules that matched within this decision evaluation
    • toJson

      String toJson()
      Returns:
      the record encoded as JSON
    • getTenantId

      String getTenantId()
      Returns:
      the tenant identifier that owns this decision evaluation result