Class EvaluateDecisionResponseImpl
java.lang.Object
io.camunda.zeebe.client.impl.response.EvaluateDecisionResponseImpl
- All Implemented Interfaces:
EvaluateDecisionResponse
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluateDecisionResponseImpl(JsonMapper jsonMapper, GatewayOuterClass.EvaluateDecisionResponse response) -
Method Summary
Modifier and TypeMethodDescriptionlonglongint
-
Constructor Details
-
EvaluateDecisionResponseImpl
public EvaluateDecisionResponseImpl(JsonMapper jsonMapper, GatewayOuterClass.EvaluateDecisionResponse response)
-
-
Method Details
-
getDecisionId
- Specified by:
getDecisionIdin interfaceEvaluateDecisionResponse- Returns:
- the decision ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
-
getDecisionVersion
public int getDecisionVersion()- Specified by:
getDecisionVersionin interfaceEvaluateDecisionResponse- Returns:
- the assigned decision version
-
getDecisionKey
public long getDecisionKey()- Specified by:
getDecisionKeyin interfaceEvaluateDecisionResponse- Returns:
- the assigned decision key, which acts as a unique identifier for this decision
-
getDecisionName
- Specified by:
getDecisionNamein interfaceEvaluateDecisionResponse- Returns:
- the name of the decision, as parsed during deployment
-
getDecisionRequirementsId
- Specified by:
getDecisionRequirementsIdin interfaceEvaluateDecisionResponse- Returns:
- the ID of the decision requirements graph that this decision is part of, as parsed during deployment
-
getDecisionRequirementsKey
public long getDecisionRequirementsKey()- Specified by:
getDecisionRequirementsKeyin interfaceEvaluateDecisionResponse- Returns:
- the assigned key of the decision requirements graph that this decision is part of
-
getDecisionOutput
- Specified by:
getDecisionOutputin interfaceEvaluateDecisionResponse- Returns:
- the output of the evaluated decision
-
getEvaluatedDecisions
- Specified by:
getEvaluatedDecisionsin interfaceEvaluateDecisionResponse- Returns:
- a list of decisions that were evaluated within the requested decision evaluation
-
getFailedDecisionId
- Specified by:
getFailedDecisionIdin interfaceEvaluateDecisionResponse- Returns:
- a string indicating the ID of the decision which failed during evaluation
-
getFailureMessage
- Specified by:
getFailureMessagein interfaceEvaluateDecisionResponse- Returns:
- a message describing why the decision which was evaluated failed
-