Class HistoricDecisionInstanceEntity
java.lang.Object
org.camunda.bpm.engine.impl.history.event.HistoryEvent
org.camunda.bpm.engine.impl.history.event.HistoricDecisionInstanceEntity
- All Implemented Interfaces:
Serializable
,HistoricDecisionInstance
,DbEntity
,HistoricEntity
public class HistoricDecisionInstanceEntity
extends HistoryEvent
implements HistoricDecisionInstance
History entry for an evaluated decision.
- Author:
- Philipp Ossler, Ingo Richtsmeier
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected Double
protected String
protected String
protected String
protected String
protected String
protected Date
protected List<HistoricDecisionInputInstance>
protected static final EnginePersistenceLogger
protected List<HistoricDecisionOutputInstance>
protected String
protected String
protected String
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
ACTIVITY_EVENT_TYPE_END, ACTIVITY_EVENT_TYPE_START, ACTIVITY_EVENT_TYPE_UPDATE, caseDefinitionId, caseDefinitionKey, caseDefinitionName, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, IDENTITY_LINK_ADD, IDENTITY_LINK_DELETE, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, removalTime, rootProcessInstanceId, sequenceCounter, TASK_EVENT_TYPE_COMPLETE, TASK_EVENT_TYPE_CREATE, TASK_EVENT_TYPE_DELETE, TASK_EVENT_TYPE_UPDATE, VARIABLE_EVENT_TYPE_CREATE, VARIABLE_EVENT_TYPE_DELETE, VARIABLE_EVENT_TYPE_UPDATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInput
(HistoricDecisionInputInstance decisionInputInstance) void
addOutput
(HistoricDecisionOutputInstance decisionOutputInstance) void
delete()
The corresponding activity in case the decision was evaluated inside a process or a case.The corresponding activity instance in case the decision was evaluated inside a process or a case.The result of the collect operation if the hit policy 'collect' was used for the decision.The decision definition reference.The unique identifier of the decision definitionThe name of the decision definitionThe id of the related decision requirements definition.The key of the related decision requirements definition.Time when the decision was evaluated.The input values of the evaluated decision.The output values of the evaluated decision.The unique identifier of the historic decision instance of the evaluated root decision.The id of the tenant this historic decision instance belongs to.The user ID in case the decision was evaluated by an authenticated user using the decision service outside of an execution context.void
setActivityId
(String activityId) void
setActivityInstanceId
(String activityInstanceId) void
setCollectResultValue
(Double collectResultValue) void
setDecisionDefinitionId
(String decisionDefinitionId) void
setDecisionDefinitionKey
(String decisionDefinitionKey) void
setDecisionDefinitionName
(String decisionDefinitionName) void
setDecisionRequirementsDefinitionId
(String decisionRequirementsDefinitionId) void
setDecisionRequirementsDefinitionKey
(String decisionRequirementsDefinitionKey) void
setEvaluationTime
(Date evaluationTime) void
setInputs
(List<HistoricDecisionInputInstance> inputs) void
setOutputs
(List<HistoricDecisionOutputInstance> outputs) void
setRootDecisionInstanceId
(String rootDecisionInstanceId) void
setTenantId
(String tenantId) void
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
getCaseDefinitionId, getCaseDefinitionKey, getCaseDefinitionName, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getPersistentState, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getRemovalTime, getRootProcessInstanceId, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setRemovalTime, setRootProcessInstanceId, setSequenceCounter, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.history.HistoricDecisionInstance
getCaseDefinitionId, getCaseDefinitionKey, getCaseInstanceId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId, getRemovalTime, getRootProcessInstanceId
-
Field Details
-
LOG
-
decisionDefinitionId
-
decisionDefinitionKey
-
decisionDefinitionName
-
activityInstanceId
-
activityId
-
evaluationTime
-
collectResultValue
-
rootDecisionInstanceId
-
decisionRequirementsDefinitionId
-
decisionRequirementsDefinitionKey
-
userId
-
tenantId
-
inputs
-
outputs
-
-
Constructor Details
-
HistoricDecisionInstanceEntity
public HistoricDecisionInstanceEntity()
-
-
Method Details
-
getDecisionDefinitionId
Description copied from interface:HistoricDecisionInstance
The decision definition reference.- Specified by:
getDecisionDefinitionId
in interfaceHistoricDecisionInstance
-
setDecisionDefinitionId
-
getDecisionDefinitionKey
Description copied from interface:HistoricDecisionInstance
The unique identifier of the decision definition- Specified by:
getDecisionDefinitionKey
in interfaceHistoricDecisionInstance
-
setDecisionDefinitionKey
-
getDecisionDefinitionName
Description copied from interface:HistoricDecisionInstance
The name of the decision definition- Specified by:
getDecisionDefinitionName
in interfaceHistoricDecisionInstance
-
setDecisionDefinitionName
-
getActivityInstanceId
Description copied from interface:HistoricDecisionInstance
The corresponding activity instance in case the decision was evaluated inside a process or a case.- Specified by:
getActivityInstanceId
in interfaceHistoricDecisionInstance
-
setActivityInstanceId
-
getActivityId
Description copied from interface:HistoricDecisionInstance
The corresponding activity in case the decision was evaluated inside a process or a case.- Specified by:
getActivityId
in interfaceHistoricDecisionInstance
-
setActivityId
-
getEvaluationTime
Description copied from interface:HistoricDecisionInstance
Time when the decision was evaluated.- Specified by:
getEvaluationTime
in interfaceHistoricDecisionInstance
-
setEvaluationTime
-
getUserId
Description copied from interface:HistoricDecisionInstance
The user ID in case the decision was evaluated by an authenticated user using the decision service outside of an execution context.- Specified by:
getUserId
in interfaceHistoricDecisionInstance
-
setUserId
-
getTenantId
Description copied from interface:HistoricDecisionInstance
The id of the tenant this historic decision instance belongs to. Can benull
if the historic decision instance belongs to no single tenant.- Specified by:
getTenantId
in interfaceHistoricDecisionInstance
-
setTenantId
-
getInputs
Description copied from interface:HistoricDecisionInstance
The input values of the evaluated decision. The fetching of the input values must be enabled on the query.- Specified by:
getInputs
in interfaceHistoricDecisionInstance
- See Also:
-
getOutputs
Description copied from interface:HistoricDecisionInstance
The output values of the evaluated decision. The fetching of the output values must be enabled on the query.- Specified by:
getOutputs
in interfaceHistoricDecisionInstance
- See Also:
-
setInputs
-
setOutputs
-
delete
public void delete() -
addInput
-
addOutput
-
getCollectResultValue
Description copied from interface:HistoricDecisionInstance
The result of the collect operation if the hit policy 'collect' was used for the decision.- Specified by:
getCollectResultValue
in interfaceHistoricDecisionInstance
-
setCollectResultValue
-
getRootDecisionInstanceId
Description copied from interface:HistoricDecisionInstance
The unique identifier of the historic decision instance of the evaluated root decision. Can benull
if this instance is the root decision instance of the evaluation.- Specified by:
getRootDecisionInstanceId
in interfaceHistoricDecisionInstance
-
setRootDecisionInstanceId
-
getDecisionRequirementsDefinitionId
Description copied from interface:HistoricDecisionInstance
The id of the related decision requirements definition. Can benull
if the decision has no relations to other decisions.- Specified by:
getDecisionRequirementsDefinitionId
in interfaceHistoricDecisionInstance
-
setDecisionRequirementsDefinitionId
-
getDecisionRequirementsDefinitionKey
Description copied from interface:HistoricDecisionInstance
The key of the related decision requirements definition. Can benull
if the decision has no relations to other decisions.- Specified by:
getDecisionRequirementsDefinitionKey
in interfaceHistoricDecisionInstance
-
setDecisionRequirementsDefinitionKey
-