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, String evaluationDate, String evaluationFailure, Long processDefinitionKey, Long processInstanceKey, long decisionKey, String decisionDefinitionId, String decisionDefinitionName, int decisionDefinitionVersion, DecisionDefinitionType decisionDefinitionType, 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, String evaluationDate, String evaluationFailure, Long processDefinitionKey, Long processInstanceKey, long decisionKey, String decisionDefinitionId, String decisionDefinitionName, int decisionDefinitionVersion, DecisionDefinitionType decisionDefinitionType, 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
-
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
-
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
-