Record Class MatchedDmnScalaRule

java.lang.Object
java.lang.Record
io.camunda.zeebe.dmn.impl.MatchedDmnScalaRule
All Implemented Interfaces:
MatchedRule

public record MatchedDmnScalaRule(String ruleId, int ruleIndex, List<EvaluatedOutput> evaluatedOutputs) extends Record implements MatchedRule
  • Constructor Details

    • MatchedDmnScalaRule

      public MatchedDmnScalaRule(String ruleId, int ruleIndex, List<EvaluatedOutput> evaluatedOutputs)
      Creates an instance of a MatchedDmnScalaRule record class.
      Parameters:
      ruleId - the value for the ruleId record component
      ruleIndex - the value for the ruleIndex record component
      evaluatedOutputs - the value for the evaluatedOutputs record component
  • Method Details

    • of

      public static MatchedDmnScalaRule of(org.camunda.dmn.Audit.EvaluatedRule evaluatedRule, int ruleIndex, 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • ruleId

      public String ruleId()
      Returns the value of the ruleId record component.
      Specified by:
      ruleId in interface MatchedRule
      Returns:
      the value of the ruleId record component
    • ruleIndex

      public int ruleIndex()
      Returns the value of the ruleIndex record component.
      Specified by:
      ruleIndex in interface MatchedRule
      Returns:
      the value of the ruleIndex record component
    • evaluatedOutputs

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