Class TaskDto


  • public class TaskDto
    extends Object
    TaskDto
    • Constructor Detail

      • TaskDto

        public TaskDto()
    • Method Detail

      • getId

        public String getId()
        The task id.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getName

        public String getName()
        The task name.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getAssignee

        public String getAssignee()
        The assignee's id.
        Returns:
        assignee
      • setAssignee

        public void setAssignee​(String assignee)
      • getOwner

        public String getOwner()
        The owner's id.
        Returns:
        owner
      • setOwner

        public void setOwner​(String owner)
      • getCreated

        public Date getCreated()
        The date the task was created on. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        created
      • setCreated

        public void setCreated​(Date created)
      • lastUpdated

        public TaskDto lastUpdated​(Date lastUpdated)
      • getLastUpdated

        public Date getLastUpdated()
        The date the task was last updated. Every action that fires a [task update event](https://docs.camunda.org/manual/7.18/user-guide/process-engine/delegation-code/#task-listener-event-lifecycle) will update this property. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        lastUpdated
      • setLastUpdated

        public void setLastUpdated​(Date lastUpdated)
      • getDue

        public Date getDue()
        The task's due date. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        due
      • setDue

        public void setDue​(Date due)
      • followUp

        public TaskDto followUp​(Date followUp)
      • getFollowUp

        public Date getFollowUp()
        The follow-up date for the task. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        followUp
      • setFollowUp

        public void setFollowUp​(Date followUp)
      • getDelegationState

        public TaskDto.DelegationStateEnum getDelegationState()
        The task's delegation state. Possible values are `PENDING` and `RESOLVED`.
        Returns:
        delegationState
      • description

        public TaskDto description​(String description)
      • getDescription

        public String getDescription()
        The task's description.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • executionId

        public TaskDto executionId​(String executionId)
      • getExecutionId

        public String getExecutionId()
        The id of the execution the task belongs to.
        Returns:
        executionId
      • setExecutionId

        public void setExecutionId​(String executionId)
      • parentTaskId

        public TaskDto parentTaskId​(String parentTaskId)
      • getParentTaskId

        public String getParentTaskId()
        The id the parent task, if this task is a subtask.
        Returns:
        parentTaskId
      • setParentTaskId

        public void setParentTaskId​(String parentTaskId)
      • getPriority

        public Integer getPriority()
        The task's priority.
        Returns:
        priority
      • setPriority

        public void setPriority​(Integer priority)
      • processDefinitionId

        public TaskDto processDefinitionId​(String processDefinitionId)
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        The id of the process definition the task belongs to.
        Returns:
        processDefinitionId
      • setProcessDefinitionId

        public void setProcessDefinitionId​(String processDefinitionId)
      • processInstanceId

        public TaskDto processInstanceId​(String processInstanceId)
      • getProcessInstanceId

        public String getProcessInstanceId()
        The id of the process instance the task belongs to.
        Returns:
        processInstanceId
      • setProcessInstanceId

        public void setProcessInstanceId​(String processInstanceId)
      • caseExecutionId

        public TaskDto caseExecutionId​(String caseExecutionId)
      • getCaseExecutionId

        public String getCaseExecutionId()
        The id of the case execution the task belongs to.
        Returns:
        caseExecutionId
      • setCaseExecutionId

        public void setCaseExecutionId​(String caseExecutionId)
      • caseDefinitionId

        public TaskDto caseDefinitionId​(String caseDefinitionId)
      • getCaseDefinitionId

        public String getCaseDefinitionId()
        The id of the case definition the task belongs to.
        Returns:
        caseDefinitionId
      • setCaseDefinitionId

        public void setCaseDefinitionId​(String caseDefinitionId)
      • caseInstanceId

        public TaskDto caseInstanceId​(String caseInstanceId)
      • getCaseInstanceId

        public String getCaseInstanceId()
        The id of the case instance the task belongs to.
        Returns:
        caseInstanceId
      • setCaseInstanceId

        public void setCaseInstanceId​(String caseInstanceId)
      • taskDefinitionKey

        public TaskDto taskDefinitionKey​(String taskDefinitionKey)
      • getTaskDefinitionKey

        public String getTaskDefinitionKey()
        The task's key.
        Returns:
        taskDefinitionKey
      • setTaskDefinitionKey

        public void setTaskDefinitionKey​(String taskDefinitionKey)
      • getSuspended

        public Boolean getSuspended()
        Whether the task belongs to a process instance that is suspended.
        Returns:
        suspended
      • setSuspended

        public void setSuspended​(Boolean suspended)
      • getFormKey

        public String getFormKey()
        If not `null`, the form key for the task.
        Returns:
        formKey
      • setFormKey

        public void setFormKey​(String formKey)
      • getCamundaFormRef

        public Map<String,​CamundaFormRef> getCamundaFormRef()
        A reference to a specific version of a Camunda Form.
        Returns:
        camundaFormRef
      • getTenantId

        public String getTenantId()
        If not `null`, the tenant id of the task.
        Returns:
        tenantId
      • setTenantId

        public void setTenantId​(String tenantId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object