Class TaskEvent
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.event.TaskEvent
-
public class TaskEvent extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
assignee
protected String
caseDefinitionId
protected String
caseExecutionId
protected String
caseInstanceId
protected Date
createTime
protected String
deleteReason
protected String
description
protected Date
dueDate
protected String
eventName
protected String
executionId
protected Date
followUpDate
protected String
id
protected String
name
protected String
owner
protected int
priority
protected String
processDefinitionId
protected String
processInstanceId
protected String
taskDefinitionKey
protected String
tenantId
-
Constructor Summary
Constructors Constructor Description TaskEvent(DelegateTask delegateTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.String
getCaseDefinitionId()
Reference to the case definition or null if it is not related to a case.String
getCaseExecutionId()
Reference to the case execution or null if it is not related to a case instance.String
getCaseInstanceId()
Reference to the case instance or null if it is not related to a case instance.Date
getCreateTime()
The date/time when this task was createdString
getDeleteReason()
Get delete reason of the task.String
getDescription()
Free text description of the task.Date
getDueDate()
Due date of the task.String
getEventName()
Returns the event name which triggered the task listener to fire for this task.String
getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.Date
getFollowUpDate()
Follow-up date of the task.String
getId()
DB id of the task.String
getName()
Name or title of the task.String
getOwner()
The {@link User.getId() userId} of the person responsible for this task.int
getPriority()
indication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highestString
getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.String
getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.String
getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a processString
getTenantId()
Return the id of the tenant this task belongs to.
-
-
-
Field Detail
-
assignee
protected String assignee
-
caseDefinitionId
protected String caseDefinitionId
-
caseExecutionId
protected String caseExecutionId
-
caseInstanceId
protected String caseInstanceId
-
createTime
protected Date createTime
-
deleteReason
protected String deleteReason
-
description
protected String description
-
dueDate
protected Date dueDate
-
eventName
protected String eventName
-
executionId
protected String executionId
-
followUpDate
protected Date followUpDate
-
id
protected String id
-
name
protected String name
-
owner
protected String owner
-
priority
protected int priority
-
processDefinitionId
protected String processDefinitionId
-
processInstanceId
protected String processInstanceId
-
taskDefinitionKey
protected String taskDefinitionKey
-
tenantId
protected String tenantId
-
-
Constructor Detail
-
TaskEvent
public TaskEvent(DelegateTask delegateTask)
-
-
Method Detail
-
getAssignee
public String getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.
-
getCaseDefinitionId
public String getCaseDefinitionId()
Reference to the case definition or null if it is not related to a case.
-
getCaseExecutionId
public String getCaseExecutionId()
Reference to the case execution or null if it is not related to a case instance.
-
getCaseInstanceId
public String getCaseInstanceId()
Reference to the case instance or null if it is not related to a case instance.
-
getCreateTime
public Date getCreateTime()
The date/time when this task was created
-
getDeleteReason
public String getDeleteReason()
Get delete reason of the task.
-
getDescription
public String getDescription()
Free text description of the task.
-
getDueDate
public Date getDueDate()
Due date of the task.
-
getEventName
public String getEventName()
Returns the event name which triggered the task listener to fire for this task.
-
getExecutionId
public String getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.
-
getFollowUpDate
public Date getFollowUpDate()
Follow-up date of the task.
-
getId
public String getId()
DB id of the task.
-
getName
public String getName()
Name or title of the task.
-
getOwner
public String getOwner()
The {@link User.getId() userId} of the person responsible for this task.
-
getPriority
public int getPriority()
indication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highest
-
getProcessDefinitionId
public String getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.
-
getProcessInstanceId
public String getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.
-
getTaskDefinitionKey
public String getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process
-
getTenantId
public String getTenantId()
Return the id of the tenant this task belongs to. Can benull
if the task belongs to no single tenant.
-
-