Package org.flowable.task.api
Interface Task
- All Superinterfaces:
TaskInfo
Represents one task for a human user.
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe currentDelegationState
for this task.boolean
Indicates whether this task is suspended or not.void
setAssignee
(String assignee) The user id of the person to which this task is delegated.void
setCategory
(String category) Change the category of the task.void
setDelegationState
(DelegationState delegationState) The currentDelegationState
for this task.void
setDescription
(String description) Change the description of the taskvoid
setDueDate
(Date dueDate) Change due date of the task.void
setFormKey
(String formKey) Change the form key of the taskvoid
setLocalizedDescription
(String description) Sets an optional localized description for the task.void
setLocalizedName
(String name) Sets an optional localized name for the task.void
Name or title of the task.void
The user id of the person that is responsible for this task.void
setParentTaskId
(String parentTaskId) the parent task for which this task is a subtaskvoid
setPriority
(int priority) Sets the indication of how important/urgent this task isvoid
setTenantId
(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 newTask
is 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 currentDelegationState
for this task. -
setDelegationState
The currentDelegationState
for 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.
-