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 Stringassigneeprotected StringcaseDefinitionIdprotected StringcaseExecutionIdprotected StringcaseInstanceIdprotected DatecreateTimeprotected StringdeleteReasonprotected Stringdescriptionprotected DatedueDateprotected StringeventNameprotected StringexecutionIdprotected DatefollowUpDateprotected Stringidprotected DatelastUpdatedprotected Stringnameprotected Stringownerprotected intpriorityprotected StringprocessDefinitionIdprotected StringprocessInstanceIdprotected StringtaskDefinitionKeyprotected StringtenantId
-
Constructor Summary
Constructors Constructor Description TaskEvent(DelegateTask delegateTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAssignee()The {@link User.getId() userId} of the person to which this task is delegated.StringgetCaseDefinitionId()Reference to the case definition or null if it is not related to a case.StringgetCaseExecutionId()Reference to the case execution or null if it is not related to a case instance.StringgetCaseInstanceId()Reference to the case instance or null if it is not related to a case instance.DategetCreateTime()The date/time when this task was createdStringgetDeleteReason()Get delete reason of the task.StringgetDescription()Free text description of the task.DategetDueDate()Due date of the task.StringgetEventName()Returns the event name which triggered the task listener to fire for this task.StringgetExecutionId()Reference to the path of execution or null if it is not related to a process instance.DategetFollowUpDate()Follow-up date of the task.StringgetId()DB id of the task.DategetLastUpdated()The date/time when this task was last updated.StringgetName()Name or title of the task.StringgetOwner()The {@link User.getId() userId} of the person responsible for this task.intgetPriority()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] highestStringgetProcessDefinitionId()Reference to the process definition or null if it is not related to a process.StringgetProcessInstanceId()Reference to the process instance or null if it is not related to a process instance.StringgetTaskDefinitionKey()The id of the activity in the process defining this task or null if this is not related to a processStringgetTenantId()Return the id of the tenant this task belongs to.StringtoString()
-
-
-
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
-
lastUpdated
protected Date lastUpdated
-
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.
-
getLastUpdated
public Date getLastUpdated()
The date/time when this task was last updated. All operations that fireTaskListener.EVENTNAME_UPDATEcount as an update to the task. Returns null if the task was never updated before (i.e. it was only created).
-
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 benullif the task belongs to no single tenant.
-
-