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 java.lang.StringgetAssignee()The {@link User.getId() userId} of the person to which this task is delegated.java.lang.StringgetBusinessKey()java.lang.StringgetCategory()The category of the task.java.util.DategetClaimTime()The claim time of this taskjava.util.DategetCreateTime()The date/time when this task was createdjava.lang.StringgetDescription()Free text description of the task.java.util.DategetDueDate()Due date of the task.java.lang.StringgetExecutionId()Reference to the path of execution or null if it is not related to a process instance.java.lang.StringgetFormKey()The form key for the user taskjava.lang.StringgetId()DB id of the task.java.lang.StringgetName()Name or title of the task.java.lang.StringgetOwner()The {@link User.getId() userId} of the person that is responsible for this task.java.lang.StringgetParentTaskId()The parent task for which this task is a subtaskintgetPriority()Indication of how important/urgent this task isjava.lang.StringgetProcessDefinitionId()Reference to the process definition or null if it is not related to a process.java.lang.StringgetProcessInstanceId()Reference to the process instance or null if it is not related to a process instance.java.util.Map<java.lang.String,java.lang.Object>getProcessVariables()Returns the process variables if requested in the task queryjava.lang.StringgetTaskDefinitionKey()The id of the activity in the process defining this task or null if this is not related to a processjava.util.Map<java.lang.String,java.lang.Object>getTaskLocalVariables()Returns the local task variables if requested in the task queryjava.lang.StringgetTenantId()The tenant identifier of this task
-
-
-
Method Detail
-
getId
java.lang.String getId()
DB id of the task.
-
getName
java.lang.String getName()
Name or title of the task.
-
getDescription
java.lang.String getDescription()
Free text description of the task.
-
getPriority
int getPriority()
Indication of how important/urgent this task is
-
getOwner
java.lang.String getOwner()
The {@link User.getId() userId} of the person that is responsible for this task.
-
getAssignee
java.lang.String getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.
-
getExecutionId
java.lang.String getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.
-
getCreateTime
java.util.Date getCreateTime()
The date/time when this task was created
-
getTaskDefinitionKey
java.lang.String getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process
-
getDueDate
java.util.Date getDueDate()
Due date of the task.
-
getCategory
java.lang.String getCategory()
The category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.
-
getParentTaskId
java.lang.String getParentTaskId()
The parent task for which this task is a subtask
-
getTenantId
java.lang.String getTenantId()
The tenant identifier of this task
-
getFormKey
java.lang.String getFormKey()
The form key for the user task
-
getTaskLocalVariables
java.util.Map<java.lang.String,java.lang.Object> getTaskLocalVariables()
Returns the local task variables if requested in the task query
-
getProcessVariables
java.util.Map<java.lang.String,java.lang.Object> getProcessVariables()
Returns the process variables if requested in the task query
-
getClaimTime
java.util.Date getClaimTime()
The claim time of this task
-
getBusinessKey
java.lang.String getBusinessKey()
-
-