Record Class EvaluatedDmnScalaDecision

java.lang.Object
java.lang.Record
io.camunda.zeebe.dmn.impl.EvaluatedDmnScalaDecision
All Implemented Interfaces:
EvaluatedDecision

public record EvaluatedDmnScalaDecision(String decisionId, String decisionName, DecisionType decisionType, org.agrona.DirectBuffer decisionOutput, List<EvaluatedInput> evaluatedInputs, List<MatchedRule> matchedRules) extends Record implements EvaluatedDecision
  • Constructor Details

    • EvaluatedDmnScalaDecision

      public EvaluatedDmnScalaDecision(String decisionId, String decisionName, DecisionType decisionType, org.agrona.DirectBuffer decisionOutput, List<EvaluatedInput> evaluatedInputs, List<MatchedRule> matchedRules)
      Creates an instance of a EvaluatedDmnScalaDecision record class.
      Parameters:
      decisionId - the value for the decisionId record component
      decisionName - the value for the decisionName record component
      decisionType - the value for the decisionType record component
      decisionOutput - the value for the decisionOutput record component
      evaluatedInputs - the value for the evaluatedInputs record component
      matchedRules - the value for the matchedRules record component
  • Method Details

    • of

      public static EvaluatedDmnScalaDecision of(org.camunda.dmn.Audit.AuditLogEntry auditLogEntry, Function<org.camunda.feel.syntaxtree.Val,org.agrona.DirectBuffer> converter)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • decisionId

      public String decisionId()
      Returns the value of the decisionId record component.
      Specified by:
      decisionId in interface EvaluatedDecision
      Returns:
      the value of the decisionId record component
    • decisionName

      public String decisionName()
      Returns the value of the decisionName record component.
      Specified by:
      decisionName in interface EvaluatedDecision
      Returns:
      the value of the decisionName record component
    • decisionType

      public DecisionType decisionType()
      Returns the value of the decisionType record component.
      Specified by:
      decisionType in interface EvaluatedDecision
      Returns:
      the value of the decisionType record component
    • decisionOutput

      public org.agrona.DirectBuffer decisionOutput()
      Returns the value of the decisionOutput record component.
      Specified by:
      decisionOutput in interface EvaluatedDecision
      Returns:
      the value of the decisionOutput record component
    • evaluatedInputs

      public List<EvaluatedInput> evaluatedInputs()
      Returns the value of the evaluatedInputs record component.
      Specified by:
      evaluatedInputs in interface EvaluatedDecision
      Returns:
      the value of the evaluatedInputs record component
    • matchedRules

      public List<MatchedRule> matchedRules()
      Returns the value of the matchedRules record component.
      Specified by:
      matchedRules in interface EvaluatedDecision
      Returns:
      the value of the matchedRules record component