Class DecisionImpl
java.lang.Object
io.camunda.zeebe.client.impl.response.DecisionImpl
- All Implemented Interfaces:
Decision
-
Constructor Summary
ConstructorDescriptionDecisionImpl
(String dmnDecisionId, String dmnDecisionName, int version, long decisionKey, String dmnDecisionRequirementsId, long decisionRequirementsKey) Deprecated.DecisionImpl
(String dmnDecisionId, String dmnDecisionName, int version, long decisionKey, String dmnDecisionRequirementsId, long decisionRequirementsKey, String tenantId) -
Method Summary
-
Constructor Details
-
DecisionImpl
-
DecisionImpl
@Deprecated public DecisionImpl(String dmnDecisionId, String dmnDecisionName, int version, long decisionKey, String dmnDecisionRequirementsId, long decisionRequirementsKey) Deprecated.A constructor that provides an instance with the
tenantId set.From version 8.3.0, the java client supports multi-tenancy for this command, which requires the
tenantId
property to be defined. This constructor is only intended for backwards compatibility in tests. -
DecisionImpl
-
-
Method Details
-
getDmnDecisionId
- Specified by:
getDmnDecisionId
in interfaceDecision
- Returns:
- the dmn decision ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
-
getDmnDecisionName
- Specified by:
getDmnDecisionName
in interfaceDecision
- Returns:
- the dmn name of the decision, as parsed during deployment
-
getVersion
public int getVersion()- Specified by:
getVersion
in interfaceDecision
- Returns:
- the assigned decision version
-
getDecisionKey
public long getDecisionKey()- Specified by:
getDecisionKey
in interfaceDecision
- Returns:
- the assigned decision key, which acts as a unique identifier for this decision
-
getDmnDecisionRequirementsId
- Specified by:
getDmnDecisionRequirementsId
in interfaceDecision
- 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 interfaceDecision
- Returns:
- the assigned key of the decision requirements graph that this decision is part of
-
getTenantId
- Specified by:
getTenantId
in interfaceDecision
- Returns:
- the tenant identifier that owns this decision
-
hashCode
public int hashCode() -
equals
-
toString
-
DecisionImpl(String dmnDecisionId, String dmnDecisionName, int version, long decisionKey, String dmnDecisionRequirementsId, long decisionRequirementsKey, String tenantId)