Class TaskEvent
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.event.TaskEvent
-
public class TaskEvent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
assignee
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseExecutionId
protected java.lang.String
caseInstanceId
protected java.util.Date
createTime
protected java.lang.String
deleteReason
protected java.lang.String
description
protected java.util.Date
dueDate
protected java.lang.String
eventName
protected java.lang.String
executionId
protected java.util.Date
followUpDate
protected java.lang.String
id
protected java.lang.String
name
protected java.lang.String
owner
protected int
priority
protected java.lang.String
processDefinitionId
protected java.lang.String
processInstanceId
protected java.lang.String
taskDefinitionKey
protected java.lang.String
tenantId
-
Constructor Summary
Constructors Constructor Description TaskEvent(DelegateTask delegateTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.java.lang.String
getCaseDefinitionId()
Reference to the case definition or null if it is not related to a case.java.lang.String
getCaseExecutionId()
Reference to the case execution or null if it is not related to a case instance.java.lang.String
getCaseInstanceId()
Reference to the case instance or null if it is not related to a case instance.java.util.Date
getCreateTime()
The date/time when this task was createdjava.lang.String
getDeleteReason()
Get delete reason of the task.java.lang.String
getDescription()
Free text description of the task.java.util.Date
getDueDate()
Due date of the task.java.lang.String
getEventName()
Returns the event name which triggered the task listener to fire for this task.java.lang.String
getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.java.util.Date
getFollowUpDate()
Follow-up date of the task.java.lang.String
getId()
DB id of the task.java.lang.String
getName()
Name or title of the task.java.lang.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] highestjava.lang.String
getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.java.lang.String
getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.java.lang.String
getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a processjava.lang.String
getTenantId()
Return the id of the tenant this task belongs to.
-
-
-
Field Detail
-
assignee
protected java.lang.String assignee
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseExecutionId
protected java.lang.String caseExecutionId
-
caseInstanceId
protected java.lang.String caseInstanceId
-
createTime
protected java.util.Date createTime
-
deleteReason
protected java.lang.String deleteReason
-
description
protected java.lang.String description
-
dueDate
protected java.util.Date dueDate
-
eventName
protected java.lang.String eventName
-
executionId
protected java.lang.String executionId
-
followUpDate
protected java.util.Date followUpDate
-
id
protected java.lang.String id
-
name
protected java.lang.String name
-
owner
protected java.lang.String owner
-
priority
protected int priority
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processInstanceId
protected java.lang.String processInstanceId
-
taskDefinitionKey
protected java.lang.String taskDefinitionKey
-
tenantId
protected java.lang.String tenantId
-
-
Constructor Detail
-
TaskEvent
public TaskEvent(DelegateTask delegateTask)
-
-
Method Detail
-
getAssignee
public java.lang.String getAssignee()
The {@link User.getId() userId} of the person to which this task is delegated.
-
getCaseDefinitionId
public java.lang.String getCaseDefinitionId()
Reference to the case definition or null if it is not related to a case.
-
getCaseExecutionId
public java.lang.String getCaseExecutionId()
Reference to the case execution or null if it is not related to a case instance.
-
getCaseInstanceId
public java.lang.String getCaseInstanceId()
Reference to the case instance or null if it is not related to a case instance.
-
getCreateTime
public java.util.Date getCreateTime()
The date/time when this task was created
-
getDeleteReason
public java.lang.String getDeleteReason()
Get delete reason of the task.
-
getDescription
public java.lang.String getDescription()
Free text description of the task.
-
getDueDate
public java.util.Date getDueDate()
Due date of the task.
-
getEventName
public java.lang.String getEventName()
Returns the event name which triggered the task listener to fire for this task.
-
getExecutionId
public java.lang.String getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.
-
getFollowUpDate
public java.util.Date getFollowUpDate()
Follow-up date of the task.
-
getId
public java.lang.String getId()
DB id of the task.
-
getName
public java.lang.String getName()
Name or title of the task.
-
getOwner
public java.lang.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 java.lang.String getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.
-
getTaskDefinitionKey
public java.lang.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 java.lang.String getTenantId()
Return the id of the tenant this task belongs to. Can benull
if the task belongs to no single tenant.
-
-