Package org.flowable.task.service.impl
Class BaseTaskBuilderImpl
java.lang.Object
org.flowable.task.service.impl.BaseTaskBuilderImpl
- All Implemented Interfaces:
TaskBuilder
- Direct Known Subclasses:
CmmnTaskBuilderImpl,TaskBuilderImpl
Base implementation of the
TaskBuilder interface- Author:
- martin.grofcik
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected CommandExecutorprotected Stringprotected Dateprotected Stringprotected Stringprotected Set<? extends IdentityLinkInfo>protected Stringprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe userId of the person to which this task is delegated.Change the category of the task.abstract Taskcreate()Creates task instance according values set in the builderdescription(String description) Free text description of the task.Change due date of the task.Change the form key of the taskgetId()Set<? extends IdentityLinkInfo>getName()getOwner()intDB id of the task.identityLinks(Set<? extends IdentityLinkInfo> identityLinks) add identity links to the taskName or title of the task.The userId of the person that is responsible for this task.parentTaskId(String parentTaskId) the parent task for which this task is a subtaskpriority(int priority) Indication of how important/urgent this task isadd task scopeIdAdd scope typetaskDefinitionId(String taskDefinitionId) task definition id to create task fromtaskDefinitionKey(String taskDefinitionKey) task definition key to create task fromChange the tenantId of the task
-
Field Details
-
commandExecutor
-
id
-
name
-
description
-
priority
protected int priority -
ownerId
-
assigneeId
-
dueDate
-
category
-
parentTaskId
-
tenantId
-
formKey
-
taskDefinitionId
-
taskDefinitionKey
-
scopeId
-
scopeType
-
identityLinks
-
-
Constructor Details
-
BaseTaskBuilderImpl
-
-
Method Details
-
create
Description copied from interface:TaskBuilderCreates task instance according values set in the builder- Specified by:
createin interfaceTaskBuilder- Returns:
- task instance
-
id
Description copied from interface:TaskBuilderDB id of the task.- Specified by:
idin interfaceTaskBuilder
-
name
Description copied from interface:TaskBuilderName or title of the task.- Specified by:
namein interfaceTaskBuilder
-
description
Description copied from interface:TaskBuilderFree text description of the task.- Specified by:
descriptionin interfaceTaskBuilder
-
priority
Description copied from interface:TaskBuilderIndication of how important/urgent this task is- Specified by:
priorityin interfaceTaskBuilder
-
owner
Description copied from interface:TaskBuilderThe userId of the person that is responsible for this task.- Specified by:
ownerin interfaceTaskBuilder
-
assignee
Description copied from interface:TaskBuilderThe userId of the person to which this task is delegated.- Specified by:
assigneein interfaceTaskBuilder
-
dueDate
Description copied from interface:TaskBuilderChange due date of the task.- Specified by:
dueDatein interfaceTaskBuilder
-
category
Description copied from interface:TaskBuilderChange the category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.- Specified by:
categoryin interfaceTaskBuilder
-
parentTaskId
Description copied from interface:TaskBuilderthe parent task for which this task is a subtask- Specified by:
parentTaskIdin interfaceTaskBuilder
-
tenantId
Description copied from interface:TaskBuilderChange the tenantId of the task- Specified by:
tenantIdin interfaceTaskBuilder
-
formKey
Description copied from interface:TaskBuilderChange the form key of the task- Specified by:
formKeyin interfaceTaskBuilder
-
taskDefinitionId
Description copied from interface:TaskBuildertask definition id to create task from- Specified by:
taskDefinitionIdin interfaceTaskBuilder
-
taskDefinitionKey
Description copied from interface:TaskBuildertask definition key to create task from- Specified by:
taskDefinitionKeyin interfaceTaskBuilder
-
identityLinks
Description copied from interface:TaskBuilderadd identity links to the task- Specified by:
identityLinksin interfaceTaskBuilder
-
scopeId
Description copied from interface:TaskBuilderadd task scopeId- Specified by:
scopeIdin interfaceTaskBuilder
-
scopeType
Description copied from interface:TaskBuilderAdd scope type- Specified by:
scopeTypein interfaceTaskBuilder
-
getId
- Specified by:
getIdin interfaceTaskBuilder
-
getName
- Specified by:
getNamein interfaceTaskBuilder
-
getDescription
- Specified by:
getDescriptionin interfaceTaskBuilder
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceTaskBuilder
-
getOwner
- Specified by:
getOwnerin interfaceTaskBuilder
-
getAssignee
- Specified by:
getAssigneein interfaceTaskBuilder
-
getTaskDefinitionId
- Specified by:
getTaskDefinitionIdin interfaceTaskBuilder
-
getTaskDefinitionKey
- Specified by:
getTaskDefinitionKeyin interfaceTaskBuilder
-
getDueDate
- Specified by:
getDueDatein interfaceTaskBuilder
-
getCategory
- Specified by:
getCategoryin interfaceTaskBuilder
-
getParentTaskId
- Specified by:
getParentTaskIdin interfaceTaskBuilder
-
getTenantId
- Specified by:
getTenantIdin interfaceTaskBuilder
-
getFormKey
- Specified by:
getFormKeyin interfaceTaskBuilder
-
getIdentityLinks
- Specified by:
getIdentityLinksin interfaceTaskBuilder
-
getScopeId
- Specified by:
getScopeIdin interfaceTaskBuilder
-
getScopeType
- Specified by:
getScopeTypein interfaceTaskBuilder
-