public abstract class BaseTaskBuilderImpl extends Object implements TaskBuilder
TaskBuilder interface| Modifier and Type | Field and Description |
|---|---|
protected String |
assigneeId |
protected String |
category |
protected CommandExecutor |
commandExecutor |
protected String |
description |
protected Date |
dueDate |
protected String |
formKey |
protected String |
id |
protected Set<? extends IdentityLinkInfo> |
identityLinks |
protected String |
name |
protected String |
ownerId |
protected String |
parentTaskId |
protected int |
priority |
protected String |
scopeId |
protected String |
scopeType |
protected String |
taskDefinitionId |
protected String |
taskDefinitionKey |
protected String |
tenantId |
| Constructor and Description |
|---|
BaseTaskBuilderImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
TaskBuilder |
assignee(String assigneId)
The userId of the person to which this task is delegated.
|
TaskBuilder |
category(String category)
Change the category of the task.
|
abstract Task |
create()
Creates task instance according values set in the builder
|
TaskBuilder |
description(String description)
Free text description of the task.
|
TaskBuilder |
dueDate(Date dueDate)
Change due date of the task.
|
TaskBuilder |
formKey(String formKey)
Change the form key of the task
|
String |
getAssignee() |
String |
getCategory() |
String |
getDescription() |
Date |
getDueDate() |
String |
getFormKey() |
String |
getId() |
Set<? extends IdentityLinkInfo> |
getIdentityLinks() |
String |
getName() |
String |
getOwner() |
String |
getParentTaskId() |
int |
getPriority() |
String |
getScopeId() |
String |
getScopeType() |
String |
getTaskDefinitionId() |
String |
getTaskDefinitionKey() |
String |
getTenantId() |
TaskBuilder |
id(String id)
DB id of the task.
|
TaskBuilder |
identityLinks(Set<? extends IdentityLinkInfo> identityLinks)
add identity links to the task
|
TaskBuilder |
name(String name)
Name or title of the task.
|
TaskBuilder |
owner(String ownerId)
The userId of the person that is responsible for this task.
|
TaskBuilder |
parentTaskId(String parentTaskId)
the parent task for which this task is a subtask
|
TaskBuilder |
priority(int priority)
Indication of how important/urgent this task is
|
TaskBuilder |
scopeId(String scopeId)
add task scopeId
|
TaskBuilder |
scopeType(String scopeType)
Add scope type
|
TaskBuilder |
taskDefinitionId(String taskDefinitionId)
task definition id to create task from
|
TaskBuilder |
taskDefinitionKey(String taskDefinitionKey)
task definition key to create task from
|
TaskBuilder |
tenantId(String tenantId)
Change the tenantId of the task
|
protected CommandExecutor commandExecutor
protected String id
protected String name
protected String description
protected int priority
protected String ownerId
protected String assigneeId
protected Date dueDate
protected String category
protected String parentTaskId
protected String tenantId
protected String formKey
protected String taskDefinitionId
protected String taskDefinitionKey
protected String scopeId
protected String scopeType
protected Set<? extends IdentityLinkInfo> identityLinks
public BaseTaskBuilderImpl(CommandExecutor commandExecutor)
public abstract Task create()
TaskBuildercreate in interface TaskBuilderpublic TaskBuilder id(String id)
TaskBuilderid in interface TaskBuilderpublic TaskBuilder name(String name)
TaskBuildername in interface TaskBuilderpublic TaskBuilder description(String description)
TaskBuilderdescription in interface TaskBuilderpublic TaskBuilder priority(int priority)
TaskBuilderpriority in interface TaskBuilderpublic TaskBuilder owner(String ownerId)
TaskBuilderowner in interface TaskBuilderpublic TaskBuilder assignee(String assigneId)
TaskBuilderassignee in interface TaskBuilderpublic TaskBuilder dueDate(Date dueDate)
TaskBuilderdueDate in interface TaskBuilderpublic TaskBuilder category(String category)
TaskBuildercategory in interface TaskBuilderpublic TaskBuilder parentTaskId(String parentTaskId)
TaskBuilderparentTaskId in interface TaskBuilderpublic TaskBuilder tenantId(String tenantId)
TaskBuildertenantId in interface TaskBuilderpublic TaskBuilder formKey(String formKey)
TaskBuilderformKey in interface TaskBuilderpublic TaskBuilder taskDefinitionId(String taskDefinitionId)
TaskBuildertaskDefinitionId in interface TaskBuilderpublic TaskBuilder taskDefinitionKey(String taskDefinitionKey)
TaskBuildertaskDefinitionKey in interface TaskBuilderpublic TaskBuilder identityLinks(Set<? extends IdentityLinkInfo> identityLinks)
TaskBuilderidentityLinks in interface TaskBuilderpublic TaskBuilder scopeId(String scopeId)
TaskBuilderscopeId in interface TaskBuilderpublic TaskBuilder scopeType(String scopeType)
TaskBuilderscopeType in interface TaskBuilderpublic String getId()
getId in interface TaskBuilderpublic String getName()
getName in interface TaskBuilderpublic String getDescription()
getDescription in interface TaskBuilderpublic int getPriority()
getPriority in interface TaskBuilderpublic String getOwner()
getOwner in interface TaskBuilderpublic String getAssignee()
getAssignee in interface TaskBuilderpublic String getTaskDefinitionId()
getTaskDefinitionId in interface TaskBuilderpublic String getTaskDefinitionKey()
getTaskDefinitionKey in interface TaskBuilderpublic Date getDueDate()
getDueDate in interface TaskBuilderpublic String getCategory()
getCategory in interface TaskBuilderpublic String getParentTaskId()
getParentTaskId in interface TaskBuilderpublic String getTenantId()
getTenantId in interface TaskBuilderpublic String getFormKey()
getFormKey in interface TaskBuilderpublic Set<? extends IdentityLinkInfo> getIdentityLinks()
getIdentityLinks in interface TaskBuilderpublic String getScopeId()
getScopeId in interface TaskBuilderpublic String getScopeType()
getScopeType in interface TaskBuilderCopyright © 2023 Flowable. All rights reserved.