Package org.flowable.task.api
Interface Task
- All Superinterfaces:
TaskInfo
- All Known Subinterfaces:
TaskEntity
- All Known Implementing Classes:
TaskEntityImpl
Represents one task for a human user.
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThe currentDelegationStatefor this task.booleanIndicates whether this task is suspended or not.voidsetAssignee(String assignee) The user id of the person to which this task is delegated.voidsetCategory(String category) Change the category of the task.voidsetDelegationState(DelegationState delegationState) The currentDelegationStatefor this task.voidsetDescription(String description) Change the description of the taskvoidsetDueDate(Date dueDate) Change due date of the task.voidsetFormKey(String formKey) Change the form key of the taskvoidsetLocalizedDescription(String description) Sets an optional localized description for the task.voidsetLocalizedName(String name) Sets an optional localized name for the task.voidName or title of the task.voidThe user id of the person that is responsible for this task.voidsetParentTaskId(String parentTaskId) the parent task for which this task is a subtaskvoidsetPriority(int priority) Sets the indication of how important/urgent this task isvoidsetTenantId(String tenantId) Change the tenantId of the taskMethods inherited from interface org.flowable.task.api.TaskInfo
getAssignee, getCaseVariables, getCategory, getClaimedBy, getClaimTime, getCreateTime, getDescription, getDueDate, getExecutionId, getFormKey, getId, getIdentityLinks, getInProgressStartDueDate, getInProgressStartedBy, getInProgressStartTime, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getProcessVariables, getPropagatedStageInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getState, getSubScopeId, getSuspendedBy, getSuspendedTime, getTaskDefinitionId, getTaskDefinitionKey, getTaskLocalVariables, getTenantId
-
Field Details
-
CREATED
- See Also:
-
CLAIMED
- See Also:
-
IN_PROGRESS
- See Also:
-
SUSPENDED
- See Also:
-
COMPLETED
- See Also:
-
TERMINATED
- See Also:
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITYDefault value used for priority when a newTaskis created.- See Also:
-
-
Method Details
-
setName
Name or title of the task. -
setLocalizedName
Sets an optional localized name for the task. -
setDescription
Change the description of the task -
setLocalizedDescription
Sets an optional localized description for the task. -
setPriority
void setPriority(int priority) Sets the indication of how important/urgent this task is -
setOwner
The user id of the person that is responsible for this task. -
setAssignee
The user id of the person to which this task is delegated. -
getDelegationState
DelegationState getDelegationState()The currentDelegationStatefor this task. -
setDelegationState
The currentDelegationStatefor this task. -
setDueDate
Change due date of the task. -
setCategory
Change the category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category. -
setParentTaskId
the parent task for which this task is a subtask -
setTenantId
Change the tenantId of the task -
setFormKey
Change the form key of the task -
isSuspended
boolean isSuspended()Indicates whether this task is suspended or not.
-