Package org.activiti.engine.history
Interface HistoricTaskInstance
-
- All Superinterfaces:
HistoricData,TaskInfo
- All Known Subinterfaces:
HistoricTaskInstanceEntity
- All Known Implementing Classes:
HistoricTaskInstanceEntityImpl
@Internal public interface HistoricTaskInstance extends TaskInfo, HistoricData
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for statistics, audit and other business intelligence purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetClaimTime()Time when the task was claimed.StringgetDeleteReason()The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.LonggetDurationInMillis()Difference betweengetEndTime()andgetStartTime()in milliseconds.DategetEndTime()Time when the task was deleted or completed.DategetStartTime()Time when the task started.LonggetWorkTimeInMillis()Difference betweengetEndTime()andgetClaimTime()in milliseconds.-
Methods inherited from interface org.activiti.engine.history.HistoricData
getTime
-
Methods inherited from interface org.activiti.engine.task.TaskInfo
getAssignee, getBusinessKey, getCategory, getCreateTime, getDescription, getDueDate, getExecutionId, getFormKey, getId, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getProcessVariables, getTaskDefinitionKey, getTaskLocalVariables, getTenantId
-
-
-
-
Method Detail
-
getDeleteReason
String getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
-
getStartTime
Date getStartTime()
Time when the task started.
-
getEndTime
Date getEndTime()
Time when the task was deleted or completed.
-
getDurationInMillis
Long getDurationInMillis()
Difference betweengetEndTime()andgetStartTime()in milliseconds.
-
getWorkTimeInMillis
Long getWorkTimeInMillis()
Difference betweengetEndTime()andgetClaimTime()in milliseconds.
-
getClaimTime
Date getClaimTime()
Time when the task was claimed.- Specified by:
getClaimTimein interfaceTaskInfo
-
-