org.activiti.engine.history
接口 HistoricTaskInstance

所有已知实现类:
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.

作者:
Tom Baeyens

方法摘要
 String getAssignee()
          The latest assignee given to this task.
 Date getClaimTime()
          Time when the task was claimed.
 String getDeleteReason()
          The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
 String getDescription()
          The latest description given to this task.
 Date getDueDate()
          Task due date
 Long getDurationInMillis()
          Difference between getEndTime() and getStartTime() in milliseconds.
 Date getEndTime()
          Time when the task was deleted or completed.
 String getExecutionId()
          Execution reference.
 String getFormKey()
          Task form key.
 String getId()
          The unique identifier of this historic task instance.
 String getName()
          The latest name given to this task.
 String getOwner()
          Task owner
 String getParentTaskId()
          The parent task of this task, in case this task was a subtask
 int getPriority()
          Task priority
 String getProcessDefinitionId()
          Process definition reference.
 String getProcessInstanceId()
          Process instance reference.
 Map<String,Object> getProcessVariables()
          Returns the process variables if requested in the task query
 Date getStartTime()
          Time when the task started.
 String getTaskDefinitionKey()
          Task definition key.
 Map<String,Object> getTaskLocalVariables()
          Returns the local task variables if requested in the task query
 Long getWorkTimeInMillis()
          Difference between getEndTime() and getClaimTime() in milliseconds.
 

方法详细信息

getId

String getId()
The unique identifier of this historic task instance. This is the same identifier as the runtime Task instance.


getProcessDefinitionId

String getProcessDefinitionId()
Process definition reference.


getProcessInstanceId

String getProcessInstanceId()
Process instance reference.


getExecutionId

String getExecutionId()
Execution reference.


getName

String getName()
The latest name given to this task.


getDescription

String getDescription()
The latest description given to this task.


getDeleteReason

String getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.


getOwner

String getOwner()
Task owner


getAssignee

String getAssignee()
The latest assignee given to this task.


getStartTime

Date getStartTime()
Time when the task started.


getEndTime

Date getEndTime()
Time when the task was deleted or completed.


getDurationInMillis

Long getDurationInMillis()
Difference between getEndTime() and getStartTime() in milliseconds.


getWorkTimeInMillis

Long getWorkTimeInMillis()
Difference between getEndTime() and getClaimTime() in milliseconds.


getClaimTime

Date getClaimTime()
Time when the task was claimed.


getTaskDefinitionKey

String getTaskDefinitionKey()
Task definition key.


getFormKey

String getFormKey()
Task form key.


getPriority

int getPriority()
Task priority


getDueDate

Date getDueDate()
Task due date


getParentTaskId

String getParentTaskId()
The parent task of this task, in case this task was a subtask


getTaskLocalVariables

Map<String,Object> getTaskLocalVariables()
Returns the local task variables if requested in the task query


getProcessVariables

Map<String,Object> getProcessVariables()
Returns the process variables if requested in the task query



Copyright © 2013 Alfresco. All rights reserved.