Class DecisionImpl

java.lang.Object
io.camunda.zeebe.client.impl.response.DecisionImpl
All Implemented Interfaces:
Decision

public final class DecisionImpl extends Object implements Decision
  • Constructor Details

    • DecisionImpl

      public DecisionImpl(GatewayOuterClass.DecisionMetadata metadata)
    • DecisionImpl

      public DecisionImpl(String dmnDecisionId, String dmnDecisionName, int version, long decisionKey, String dmnDecisionRequirementsId, long decisionRequirementsKey)
  • Method Details

    • getDmnDecisionId

      public String getDmnDecisionId()
      Specified by:
      getDmnDecisionId in interface Decision
      Returns:
      the dmn decision ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
    • getDmnDecisionName

      public String getDmnDecisionName()
      Specified by:
      getDmnDecisionName in interface Decision
      Returns:
      the dmn name of the decision, as parsed during deployment
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface Decision
      Returns:
      the assigned decision version
    • getDecisionKey

      public long getDecisionKey()
      Specified by:
      getDecisionKey in interface Decision
      Returns:
      the assigned decision key, which acts as a unique identifier for this decision
    • getDmnDecisionRequirementsId

      public String getDmnDecisionRequirementsId()
      Specified by:
      getDmnDecisionRequirementsId in interface Decision
      Returns:
      the dmn ID of the decision requirements graph that this decision is part of, as parsed during deployment
    • getDecisionRequirementsKey

      public long getDecisionRequirementsKey()
      Specified by:
      getDecisionRequirementsKey in interface Decision
      Returns:
      the assigned key of the decision requirements graph that this decision is part of
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object