Interface DecisionInstance
- All Known Implementing Classes:
DecisionInstanceImpl
public interface DecisionInstance
-
Method Details
-
getDecisionInstanceKey
long getDecisionInstanceKey()- Returns:
- the key of the decision instance
-
getDecisionInstanceId
String getDecisionInstanceId()- Returns:
- the ID of the decision instance
-
getState
DecisionInstanceState getState()- Returns:
- the state of the decision instance
-
getEvaluationDate
OffsetDateTime getEvaluationDate()- Returns:
- the evaluation date of the decision instance
-
getEvaluationFailure
String getEvaluationFailure()- Returns:
- the evaluation failure of the decision instance
-
getProcessDefinitionKey
Long getProcessDefinitionKey()- Returns:
- the process definition key of the decision instance
-
getProcessInstanceKey
Long getProcessInstanceKey()- Returns:
- the process instance id of the decision instance
-
getElementInstanceKey
Long getElementInstanceKey()- Returns:
- the element instance key of the decision instance
-
getDecisionDefinitionKey
long getDecisionDefinitionKey()- Returns:
- the decision definition key of the decision instance
-
getDecisionDefinitionId
String getDecisionDefinitionId()- Returns:
- the decision definition id of the decision instance
-
getDecisionDefinitionName
String getDecisionDefinitionName()- Returns:
- the decision definition name of the decision instance
-
getDecisionDefinitionVersion
int getDecisionDefinitionVersion()- Returns:
- the decision definition version of the decision instance
-
getDecisionDefinitionType
DecisionDefinitionType getDecisionDefinitionType()- Returns:
- the decision type of the decision instance
-
getTenantId
String getTenantId()- Returns:
- the tenant id of the decision instance
-
getEvaluatedInputs
List<EvaluatedDecisionInput> getEvaluatedInputs()- Returns:
- the decision inputs that were evaluated within this decision instance
-
getMatchedRules
List<MatchedDecisionRule> getMatchedRules()- Returns:
- the decision rules that matched within this decision instance
-
getResult
String getResult()- Returns:
- the evaluation result
-
toJson
String toJson()- Returns:
- the entity encoded as JSON
-