Class HistoricDecisionInstanceEntity
java.lang.Object
org.operaton.bpm.engine.impl.history.event.HistoryEvent
org.operaton.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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Doubleprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected List<HistoricDecisionInputInstance> protected static final EnginePersistenceLoggerprotected List<HistoricDecisionOutputInstance> protected Stringprotected Stringprotected StringFields inherited from class org.operaton.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInput(HistoricDecisionInputInstance decisionInputInstance) voidaddOutput(HistoricDecisionOutputInstance decisionOutputInstance) voiddelete()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.voidsetActivityId(String activityId) voidsetActivityInstanceId(String activityInstanceId) voidsetCollectResultValue(Double collectResultValue) voidsetDecisionDefinitionId(String decisionDefinitionId) voidsetDecisionDefinitionKey(String decisionDefinitionKey) voidsetDecisionDefinitionName(String decisionDefinitionName) voidsetDecisionRequirementsDefinitionId(String decisionRequirementsDefinitionId) voidsetDecisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey) voidsetEvaluationTime(Date evaluationTime) voidsetInputs(List<HistoricDecisionInputInstance> inputs) voidsetOutputs(List<HistoricDecisionOutputInstance> outputs) voidsetRootDecisionInstanceId(String rootDecisionInstanceId) voidsetTenantId(String tenantId) voidMethods inherited from class org.operaton.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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.operaton.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:HistoricDecisionInstanceThe decision definition reference.- Specified by:
getDecisionDefinitionIdin interfaceHistoricDecisionInstance
-
setDecisionDefinitionId
-
getDecisionDefinitionKey
Description copied from interface:HistoricDecisionInstanceThe unique identifier of the decision definition- Specified by:
getDecisionDefinitionKeyin interfaceHistoricDecisionInstance
-
setDecisionDefinitionKey
-
getDecisionDefinitionName
Description copied from interface:HistoricDecisionInstanceThe name of the decision definition- Specified by:
getDecisionDefinitionNamein interfaceHistoricDecisionInstance
-
setDecisionDefinitionName
-
getActivityInstanceId
Description copied from interface:HistoricDecisionInstanceThe corresponding activity instance in case the decision was evaluated inside a process or a case.- Specified by:
getActivityInstanceIdin interfaceHistoricDecisionInstance
-
setActivityInstanceId
-
getActivityId
Description copied from interface:HistoricDecisionInstanceThe corresponding activity in case the decision was evaluated inside a process or a case.- Specified by:
getActivityIdin interfaceHistoricDecisionInstance
-
setActivityId
-
getEvaluationTime
Description copied from interface:HistoricDecisionInstanceTime when the decision was evaluated.- Specified by:
getEvaluationTimein interfaceHistoricDecisionInstance
-
setEvaluationTime
-
getUserId
Description copied from interface:HistoricDecisionInstanceThe user ID in case the decision was evaluated by an authenticated user using the decision service outside of an execution context.- Specified by:
getUserIdin interfaceHistoricDecisionInstance
-
setUserId
-
getTenantId
Description copied from interface:HistoricDecisionInstanceThe id of the tenant this historic decision instance belongs to. Can benullif the historic decision instance belongs to no single tenant.- Specified by:
getTenantIdin interfaceHistoricDecisionInstance
-
setTenantId
-
getInputs
Description copied from interface:HistoricDecisionInstanceThe input values of the evaluated decision. The fetching of the input values must be enabled on the query.- Specified by:
getInputsin interfaceHistoricDecisionInstance- See Also:
-
getOutputs
Description copied from interface:HistoricDecisionInstanceThe output values of the evaluated decision. The fetching of the output values must be enabled on the query.- Specified by:
getOutputsin interfaceHistoricDecisionInstance- See Also:
-
setInputs
-
setOutputs
-
delete
public void delete() -
addInput
-
addOutput
-
getCollectResultValue
Description copied from interface:HistoricDecisionInstanceThe result of the collect operation if the hit policy 'collect' was used for the decision.- Specified by:
getCollectResultValuein interfaceHistoricDecisionInstance
-
setCollectResultValue
-
getRootDecisionInstanceId
Description copied from interface:HistoricDecisionInstanceThe unique identifier of the historic decision instance of the evaluated root decision. Can benullif this instance is the root decision instance of the evaluation.- Specified by:
getRootDecisionInstanceIdin interfaceHistoricDecisionInstance
-
setRootDecisionInstanceId
-
getDecisionRequirementsDefinitionId
Description copied from interface:HistoricDecisionInstanceThe id of the related decision requirements definition. Can benullif the decision has no relations to other decisions.- Specified by:
getDecisionRequirementsDefinitionIdin interfaceHistoricDecisionInstance
-
setDecisionRequirementsDefinitionId
-
getDecisionRequirementsDefinitionKey
Description copied from interface:HistoricDecisionInstanceThe key of the related decision requirements definition. Can benullif the decision has no relations to other decisions.- Specified by:
getDecisionRequirementsDefinitionKeyin interfaceHistoricDecisionInstance
-
setDecisionRequirementsDefinitionKey
-