Package io.camunda.zeebe.dmn.impl
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 Summary
ConstructorsConstructorDescriptionMatchedDmnScalaRule(String ruleId, int ruleIndex, List<EvaluatedOutput> evaluatedOutputs) Creates an instance of aMatchedDmnScalaRulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluatedOutputsrecord component.final inthashCode()Returns a hash code value for this object.static MatchedDmnScalaRuleof(org.camunda.dmn.Audit.EvaluatedRule evaluatedRule, int ruleIndex, Function<org.camunda.feel.syntaxtree.Val, org.agrona.DirectBuffer> converter) ruleId()Returns the value of theruleIdrecord component.intReturns the value of theruleIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatchedDmnScalaRule
Creates an instance of aMatchedDmnScalaRulerecord class.- Parameters:
ruleId- the value for theruleIdrecord componentruleIndex- the value for theruleIndexrecord componentevaluatedOutputs- the value for theevaluatedOutputsrecord 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
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
ruleId
Returns the value of theruleIdrecord component.- Specified by:
ruleIdin interfaceMatchedRule- Returns:
- the value of the
ruleIdrecord component
-
ruleIndex
public int ruleIndex()Returns the value of theruleIndexrecord component.- Specified by:
ruleIndexin interfaceMatchedRule- Returns:
- the value of the
ruleIndexrecord component
-
evaluatedOutputs
Returns the value of theevaluatedOutputsrecord component.- Specified by:
evaluatedOutputsin interfaceMatchedRule- Returns:
- the value of the
evaluatedOutputsrecord component
-