Package org.camunda.bpm.engine.history
Interface HistoricTaskInstance
-
- All Known Implementing Classes:
HistoricTaskInstanceEntity
public interface HistoricTaskInstance
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for statistics, audit and other business intelligence purposes.- Author:
- Tom Baeyens
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActivityInstanceId()
Activity instance reference.java.lang.String
getAssignee()
The latest assignee given to this task.java.lang.String
getCaseDefinitionId()
Case definition reference.java.lang.String
getCaseDefinitionKey()
Case definition key reference.java.lang.String
getCaseExecutionId()
Case execution reference.java.lang.String
getCaseInstanceId()
Case instance reference.java.lang.String
getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.java.lang.String
getDescription()
The latest description given to this task.java.util.Date
getDueDate()
Task due datejava.lang.Long
getDurationInMillis()
Difference betweengetEndTime()
andgetStartTime()
in milliseconds.java.util.Date
getEndTime()
Time when the task was deleted or completed.java.lang.String
getExecutionId()
Execution reference.java.util.Date
getFollowUpDate()
Task follow-up datejava.lang.String
getId()
The unique identifier of this historic task instance.java.lang.String
getName()
The latest name given to this task.java.lang.String
getOwner()
Task ownerjava.lang.String
getParentTaskId()
The parent task of this task, in case this task was a subtaskint
getPriority()
Task priorityjava.lang.String
getProcessDefinitionId()
Process definition reference.java.lang.String
getProcessDefinitionKey()
Process definition key reference.java.lang.String
getProcessInstanceId()
Process instance reference.java.util.Date
getRemovalTime()
The time the historic task instance will be removed.java.lang.String
getRootProcessInstanceId()
Root process instance reference.java.util.Date
getStartTime()
Time when the task started.java.lang.String
getTaskDefinitionKey()
Task definition key.java.lang.String
getTenantId()
The id of the tenant this historic task instance belongs to.
-
-
-
Method Detail
-
getId
java.lang.String getId()
The unique identifier of this historic task instance. This is the same identifier as the runtime Task instance.
-
getProcessDefinitionKey
java.lang.String getProcessDefinitionKey()
Process definition key reference.
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
Process definition reference.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
Root process instance reference.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
Process instance reference.
-
getExecutionId
java.lang.String getExecutionId()
Execution reference.
-
getCaseDefinitionKey
java.lang.String getCaseDefinitionKey()
Case definition key reference.
-
getCaseDefinitionId
java.lang.String getCaseDefinitionId()
Case definition reference.
-
getCaseInstanceId
java.lang.String getCaseInstanceId()
Case instance reference.
-
getCaseExecutionId
java.lang.String getCaseExecutionId()
Case execution reference.
-
getActivityInstanceId
java.lang.String getActivityInstanceId()
Activity instance reference.
-
getName
java.lang.String getName()
The latest name given to this task.
-
getDescription
java.lang.String getDescription()
The latest description given to this task.
-
getDeleteReason
java.lang.String getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
-
getOwner
java.lang.String getOwner()
Task owner
-
getAssignee
java.lang.String getAssignee()
The latest assignee given to this task.
-
getStartTime
java.util.Date getStartTime()
Time when the task started.
-
getEndTime
java.util.Date getEndTime()
Time when the task was deleted or completed.
-
getDurationInMillis
java.lang.Long getDurationInMillis()
Difference betweengetEndTime()
andgetStartTime()
in milliseconds.
-
getTaskDefinitionKey
java.lang.String getTaskDefinitionKey()
Task definition key.
-
getPriority
int getPriority()
Task priority
-
getDueDate
java.util.Date getDueDate()
Task due date
-
getParentTaskId
java.lang.String getParentTaskId()
The parent task of this task, in case this task was a subtask
-
getFollowUpDate
java.util.Date getFollowUpDate()
Task follow-up date
-
getTenantId
java.lang.String getTenantId()
The id of the tenant this historic task instance belongs to. Can benull
if the historic task instance belongs to no single tenant.
-
getRemovalTime
java.util.Date getRemovalTime()
The time the historic task instance will be removed.
-
-