Package io.camunda.zeebe.dmn.impl
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 Summary
ConstructorsConstructorDescriptionEvaluatedDmnScalaDecision(String decisionId, String decisionName, DecisionType decisionType, org.agrona.DirectBuffer decisionOutput, List<EvaluatedInput> evaluatedInputs, List<MatchedRule> matchedRules) Creates an instance of aEvaluatedDmnScalaDecisionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecisionIdrecord component.Returns the value of thedecisionNamerecord component.org.agrona.DirectBufferReturns the value of thedecisionOutputrecord component.Returns the value of thedecisionTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluatedInputsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thematchedRulesrecord component.static EvaluatedDmnScalaDecisionof(org.camunda.dmn.Audit.AuditLogEntry auditLogEntry, Function<org.camunda.feel.syntaxtree.Val, org.agrona.DirectBuffer> converter) final StringtoString()Returns a string representation of this record class.
-
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 aEvaluatedDmnScalaDecisionrecord class.- Parameters:
decisionId- the value for thedecisionIdrecord componentdecisionName- the value for thedecisionNamerecord componentdecisionType- the value for thedecisionTyperecord componentdecisionOutput- the value for thedecisionOutputrecord componentevaluatedInputs- the value for theevaluatedInputsrecord componentmatchedRules- the value for thematchedRulesrecord 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
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. All components in this record class are compared withObjects::equals(Object,Object). -
decisionId
Returns the value of thedecisionIdrecord component.- Specified by:
decisionIdin interfaceEvaluatedDecision- Returns:
- the value of the
decisionIdrecord component
-
decisionName
Returns the value of thedecisionNamerecord component.- Specified by:
decisionNamein interfaceEvaluatedDecision- Returns:
- the value of the
decisionNamerecord component
-
decisionType
Returns the value of thedecisionTyperecord component.- Specified by:
decisionTypein interfaceEvaluatedDecision- Returns:
- the value of the
decisionTyperecord component
-
decisionOutput
public org.agrona.DirectBuffer decisionOutput()Returns the value of thedecisionOutputrecord component.- Specified by:
decisionOutputin interfaceEvaluatedDecision- Returns:
- the value of the
decisionOutputrecord component
-
evaluatedInputs
Returns the value of theevaluatedInputsrecord component.- Specified by:
evaluatedInputsin interfaceEvaluatedDecision- Returns:
- the value of the
evaluatedInputsrecord component
-
matchedRules
Returns the value of thematchedRulesrecord component.- Specified by:
matchedRulesin interfaceEvaluatedDecision- Returns:
- the value of the
matchedRulesrecord component
-