Package org.activiti.engine.task
Interface TaskInfo
-
- All Known Subinterfaces:
HistoricTaskInstance,HistoricTaskInstanceEntity,Task,TaskEntity
- All Known Implementing Classes:
HistoricTaskInstanceEntityImpl,TaskEntityImpl
@Internal public interface TaskInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAssignee()The {@link User.getId() userId} of the person to which this task is delegated.StringgetBusinessKey()StringgetCategory()The category of the task.DategetClaimTime()The claim time of this taskDategetCreateTime()The date/time when this task was createdStringgetDescription()Free text description of the task.DategetDueDate()Due date of the task.StringgetExecutionId()Reference to the path of execution or null if it is not related to a process instance.StringgetFormKey()The form key for the user taskStringgetId()DB id of the task.StringgetName()Name or title of the task.StringgetOwner()The {@link User.getId() userId} of the person that is responsible for this task.StringgetParentTaskId()The parent task for which this task is a subtaskintgetPriority()Indication of how important/urgent this task isStringgetProcessDefinitionId()Reference to the process definition or null if it is not related to a process.StringgetProcessInstanceId()Reference to the process instance or null if it is not related to a process instance.Map<String,Object>getProcessVariables()Returns the process variables if requested in the task queryStringgetTaskDefinitionKey()The id of the activity in the process defining this task or null if this is not related to a processMap<String,Object>getTaskLocalVariables()Returns the local task variables if requested in the task queryStringgetTenantId()The tenant identifier of this task
-
-
-
Method Detail
-
getId
String getId()
DB id of the task.
-
getName
String getName()
Name or title of the task.
-
getDescription
String getDescription()
Free text description of the task.
-
getPriority
int getPriority()
Indication of how important/urgent this task is
-
getOwner
String getOwner()
The {@link User.getId() userId} of the person that is responsible for this task.
-
getAssignee
String getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.
-
getProcessInstanceId
String getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.
-
getExecutionId
String getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.
-
getProcessDefinitionId
String getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.
-
getCreateTime
Date getCreateTime()
The date/time when this task was created
-
getTaskDefinitionKey
String getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process
-
getDueDate
Date getDueDate()
Due date of the task.
-
getCategory
String getCategory()
The category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.
-
getParentTaskId
String getParentTaskId()
The parent task for which this task is a subtask
-
getTenantId
String getTenantId()
The tenant identifier of this task
-
getFormKey
String getFormKey()
The form key for the user task
-
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
-
getClaimTime
Date getClaimTime()
The claim time of this task
-
getBusinessKey
String getBusinessKey()
-
-