Class TaskEvent


  • public class TaskEvent
    extends java.lang.Object
    • 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 created
      java.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] highest
      java.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 process
      java.lang.String getTenantId()
      Return the id of the tenant this task belongs to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 be null if the task belongs to no single tenant.