Package org.flowable.engine.impl
Class ProcessInstanceHistoryLogImpl
java.lang.Object
org.flowable.engine.impl.ProcessInstanceHistoryLogImpl
- All Implemented Interfaces:
ProcessInstanceHistoryLog
- Author:
- Joram Barrez
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<org.flowable.common.engine.api.history.HistoricData>
protected HistoricProcessInstance
-
Constructor Summary
ConstructorDescriptionProcessInstanceHistoryLogImpl
(HistoricProcessInstance historicProcessInstance) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistoricData
(Collection<? extends org.flowable.common.engine.api.history.HistoricData> historicEvents) void
addHistoricData
(org.flowable.common.engine.api.history.HistoricData historicEvent) The user provided unique reference to this process instance.Obtains the reason for the process instance's deletion.The difference betweenProcessInstanceHistoryLog.getEndTime()
andProcessInstanceHistoryLog.getStartTime()
.The time the process was ended.List<org.flowable.common.engine.api.history.HistoricData>
The trail of data, ordered by date (ascending).getId()
The process instance id (== as the id for the runtimeprocess instance
).The process definition reference.The start activity.The time the process was started.The authenticated user that started this process instance.The process instance id of a potential super process instance or null if no super process instance existsThe tenant identifier for the process instance.void
-
Field Details
-
historicProcessInstance
-
historicData
-
-
Constructor Details
-
ProcessInstanceHistoryLogImpl
-
-
Method Details
-
getId
Description copied from interface:ProcessInstanceHistoryLog
The process instance id (== as the id for the runtimeprocess instance
).- Specified by:
getId
in interfaceProcessInstanceHistoryLog
-
getBusinessKey
Description copied from interface:ProcessInstanceHistoryLog
The user provided unique reference to this process instance.- Specified by:
getBusinessKey
in interfaceProcessInstanceHistoryLog
-
getProcessDefinitionId
Description copied from interface:ProcessInstanceHistoryLog
The process definition reference.- Specified by:
getProcessDefinitionId
in interfaceProcessInstanceHistoryLog
-
getStartTime
Description copied from interface:ProcessInstanceHistoryLog
The time the process was started.- Specified by:
getStartTime
in interfaceProcessInstanceHistoryLog
-
getEndTime
Description copied from interface:ProcessInstanceHistoryLog
The time the process was ended.- Specified by:
getEndTime
in interfaceProcessInstanceHistoryLog
-
getDurationInMillis
Description copied from interface:ProcessInstanceHistoryLog
The difference betweenProcessInstanceHistoryLog.getEndTime()
andProcessInstanceHistoryLog.getStartTime()
.- Specified by:
getDurationInMillis
in interfaceProcessInstanceHistoryLog
-
getStartUserId
Description copied from interface:ProcessInstanceHistoryLog
The authenticated user that started this process instance.- Specified by:
getStartUserId
in interfaceProcessInstanceHistoryLog
- See Also:
-
getStartActivityId
Description copied from interface:ProcessInstanceHistoryLog
The start activity.- Specified by:
getStartActivityId
in interfaceProcessInstanceHistoryLog
-
getDeleteReason
Description copied from interface:ProcessInstanceHistoryLog
Obtains the reason for the process instance's deletion.- Specified by:
getDeleteReason
in interfaceProcessInstanceHistoryLog
-
getSuperProcessInstanceId
Description copied from interface:ProcessInstanceHistoryLog
The process instance id of a potential super process instance or null if no super process instance exists- Specified by:
getSuperProcessInstanceId
in interfaceProcessInstanceHistoryLog
-
getTenantId
Description copied from interface:ProcessInstanceHistoryLog
The tenant identifier for the process instance.- Specified by:
getTenantId
in interfaceProcessInstanceHistoryLog
-
getHistoricData
Description copied from interface:ProcessInstanceHistoryLog
The trail of data, ordered by date (ascending). Gives a replay of the process instance.- Specified by:
getHistoricData
in interfaceProcessInstanceHistoryLog
-
addHistoricData
public void addHistoricData(org.flowable.common.engine.api.history.HistoricData historicEvent) -
addHistoricData
public void addHistoricData(Collection<? extends org.flowable.common.engine.api.history.HistoricData> historicEvents) -
orderHistoricData
public void orderHistoricData()
-