Class DecisionInstanceImpl
java.lang.Object
io.camunda.client.impl.search.response.DecisionInstanceImpl
- All Implemented Interfaces:
DecisionInstance
-
Constructor Summary
ConstructorsConstructorDescriptionDecisionInstanceImpl(JsonMapper jsonMapper, long decisionInstanceKey, String decisionInstanceId, DecisionInstanceState state, OffsetDateTime evaluationDate, String evaluationFailure, Long processDefinitionKey, Long processInstanceKey, Long rootProcessInstanceKey, String businessId, Long elementInstanceKey, long decisionKey, String decisionDefinitionId, String decisionDefinitionName, int decisionDefinitionVersion, DecisionDefinitionType decisionDefinitionType, long rootDecisionDefinitionKey, String tenantId, List<EvaluatedDecisionInput> evaluatedInputs, List<MatchedDecisionRule> matchedRules, String result) DecisionInstanceImpl(DecisionInstanceGetQueryResult item, JsonMapper jsonMapper) DecisionInstanceImpl(DecisionInstanceResult item, JsonMapper jsonMapper) -
Method Summary
-
Constructor Details
-
DecisionInstanceImpl
-
DecisionInstanceImpl
-
DecisionInstanceImpl
public DecisionInstanceImpl(JsonMapper jsonMapper, long decisionInstanceKey, String decisionInstanceId, DecisionInstanceState state, OffsetDateTime evaluationDate, String evaluationFailure, Long processDefinitionKey, Long processInstanceKey, Long rootProcessInstanceKey, String businessId, Long elementInstanceKey, long decisionKey, String decisionDefinitionId, String decisionDefinitionName, int decisionDefinitionVersion, DecisionDefinitionType decisionDefinitionType, long rootDecisionDefinitionKey, String tenantId, List<EvaluatedDecisionInput> evaluatedInputs, List<MatchedDecisionRule> matchedRules, String result)
-
-
Method Details
-
getDecisionInstanceKey
public long getDecisionInstanceKey()- Specified by:
getDecisionInstanceKeyin interfaceDecisionInstance- Returns:
- the key of the decision instance
-
getDecisionInstanceId
- Specified by:
getDecisionInstanceIdin interfaceDecisionInstance- Returns:
- the ID of the decision instance
-
getState
- Specified by:
getStatein interfaceDecisionInstance- Returns:
- the state of the decision instance
-
getEvaluationDate
- Specified by:
getEvaluationDatein interfaceDecisionInstance- Returns:
- the evaluation date of the decision instance
-
getEvaluationFailure
- Specified by:
getEvaluationFailurein interfaceDecisionInstance- Returns:
- the evaluation failure of the decision instance
-
getProcessDefinitionKey
- Specified by:
getProcessDefinitionKeyin interfaceDecisionInstance- Returns:
- the process definition key of the decision instance
-
getProcessInstanceKey
- Specified by:
getProcessInstanceKeyin interfaceDecisionInstance- Returns:
- the process instance id of the decision instance
-
getRootProcessInstanceKey
Description copied from interface:DecisionInstanceReturns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.Note: This field is
nullfor process instance hierarchies created before version 8.9.- Specified by:
getRootProcessInstanceKeyin interfaceDecisionInstance- Returns:
- the root process instance key, or
nullfor data created before version 8.9
-
getBusinessId
Description copied from interface:DecisionInstanceReturns the business ID of the owning process instance, inherited when the decision instance was evaluated.Note: This field is
nullfor decision instances created before version 8.10, for standalone decision evaluations, and when the owning process instance has no business ID.- Specified by:
getBusinessIdin interfaceDecisionInstance- Returns:
- the business ID, or
nullwhen not set
-
getElementInstanceKey
- Specified by:
getElementInstanceKeyin interfaceDecisionInstance- Returns:
- the element instance key of the decision instance
-
getDecisionDefinitionKey
public long getDecisionDefinitionKey()- Specified by:
getDecisionDefinitionKeyin interfaceDecisionInstance- Returns:
- the decision definition key of the decision instance
-
getDecisionDefinitionId
- Specified by:
getDecisionDefinitionIdin interfaceDecisionInstance- Returns:
- the decision definition id of the decision instance
-
getDecisionDefinitionName
- Specified by:
getDecisionDefinitionNamein interfaceDecisionInstance- Returns:
- the decision definition name of the decision instance
-
getDecisionDefinitionVersion
public int getDecisionDefinitionVersion()- Specified by:
getDecisionDefinitionVersionin interfaceDecisionInstance- Returns:
- the decision definition version of the decision instance
-
getDecisionDefinitionType
- Specified by:
getDecisionDefinitionTypein interfaceDecisionInstance- Returns:
- the decision type of the decision instance
-
getRootDecisionDefinitionKey
public long getRootDecisionDefinitionKey()- Specified by:
getRootDecisionDefinitionKeyin interfaceDecisionInstance- Returns:
- the root decision definition key of the decision instance
-
getTenantId
- Specified by:
getTenantIdin interfaceDecisionInstance- Returns:
- the tenant id of the decision instance
-
getEvaluatedInputs
- Specified by:
getEvaluatedInputsin interfaceDecisionInstance- Returns:
- the decision inputs that were evaluated within this decision instance
-
getMatchedRules
- Specified by:
getMatchedRulesin interfaceDecisionInstance- Returns:
- the decision rules that matched within this decision instance
-
getResult
- Specified by:
getResultin interfaceDecisionInstance- Returns:
- the evaluation result
-
toJson
- Specified by:
toJsonin interfaceDecisionInstance- Returns:
- the entity encoded as JSON
-
hashCode
public int hashCode() -
equals
-