Package org.flowable.task.api.history
Interface HistoricTaskInstance
-
- All Superinterfaces:
org.flowable.common.engine.api.history.HistoricData
,TaskInfo
public interface HistoricTaskInstance extends TaskInfo, org.flowable.common.engine.api.history.HistoricData
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for statistics, audit and other business intelligence purposes.- Author:
- Tom Baeyens, Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Date
getClaimTime()
Time when the task was claimed.String
getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.Long
getDurationInMillis()
Difference betweengetEndTime()
andgetStartTime()
in milliseconds.Date
getEndTime()
Time when the task was deleted or completed.Date
getStartTime()
Deprecated.useTaskInfo.getCreateTime()
insteadLong
getWorkTimeInMillis()
Difference betweengetEndTime()
andgetClaimTime()
in milliseconds.-
Methods inherited from interface org.flowable.task.api.TaskInfo
getAssignee, getCaseVariables, getCategory, getCreateTime, getDescription, getDueDate, getExecutionId, getFormKey, getId, getIdentityLinks, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getProcessVariables, getPropagatedStageInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeId, getTaskDefinitionId, getTaskDefinitionKey, getTaskLocalVariables, getTenantId
-
-
-
-
Method Detail
-
getDeleteReason
String getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
-
getStartTime
@Deprecated Date getStartTime()
Deprecated.useTaskInfo.getCreateTime()
insteadTime when the task created.
-
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:
getClaimTime
in interfaceTaskInfo
-
-