Package org.activiti.engine.history
Interface HistoricTaskInstance
- All Superinterfaces:
HistoricData,TaskInfo
- All Known Subinterfaces:
HistoricTaskInstanceEntity
- All Known Implementing Classes:
HistoricTaskInstanceEntityImpl
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for statistics, audit and other business intelligence purposes.
-
Method Summary
Modifier and TypeMethodDescriptionTime when the task was claimed.The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.Difference betweengetEndTime()andgetStartTime()in milliseconds.Time when the task was deleted or completed.Time when the task started.Difference betweengetEndTime()andgetClaimTime()in milliseconds.Methods inherited from interface org.activiti.engine.history.HistoricData
getTimeMethods 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, getTaskProcessRootProcessInstanceId, getTenantId
-
Method Details
-
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
-