Class ExternalTaskDto


  • public class ExternalTaskDto
    extends Object
    An External Task object with the following properties
    • Constructor Detail

      • ExternalTaskDto

        public ExternalTaskDto()
    • Method Detail

      • getActivityId

        public String getActivityId()
        The id of the activity that this external task belongs to.
        Returns:
        activityId
      • setActivityId

        public void setActivityId​(String activityId)
      • getActivityInstanceId

        public String getActivityInstanceId()
        The id of the activity instance that the external task belongs to.
        Returns:
        activityInstanceId
      • setActivityInstanceId

        public void setActivityInstanceId​(String activityInstanceId)
      • getErrorMessage

        public String getErrorMessage()
        The full error message submitted with the latest reported failure executing this task; `null` if no failure was reported previously or if no error message was submitted
        Returns:
        errorMessage
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
      • getExecutionId

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

        public void setExecutionId​(String executionId)
      • getId

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

        public void setId​(String id)
      • getLockExpirationTime

        public Date getLockExpirationTime()
        The date that the task's most recent lock expires or has expired.
        Returns:
        lockExpirationTime
      • setLockExpirationTime

        public void setLockExpirationTime​(Date lockExpirationTime)
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        The id of the process definition the external task is defined in.
        Returns:
        processDefinitionId
      • setProcessDefinitionId

        public void setProcessDefinitionId​(String processDefinitionId)
      • getProcessDefinitionKey

        public String getProcessDefinitionKey()
        The key of the process definition the external task is defined in.
        Returns:
        processDefinitionKey
      • setProcessDefinitionKey

        public void setProcessDefinitionKey​(String processDefinitionKey)
      • processDefinitionVersionTag

        public ExternalTaskDto processDefinitionVersionTag​(String processDefinitionVersionTag)
      • getProcessDefinitionVersionTag

        public String getProcessDefinitionVersionTag()
        The version tag of the process definition the external task is defined in.
        Returns:
        processDefinitionVersionTag
      • setProcessDefinitionVersionTag

        public void setProcessDefinitionVersionTag​(String processDefinitionVersionTag)
      • getProcessInstanceId

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

        public void setProcessInstanceId​(String processInstanceId)
      • getTenantId

        public String getTenantId()
        The id of the tenant the external task belongs to.
        Returns:
        tenantId
      • setTenantId

        public void setTenantId​(String tenantId)
      • getRetries

        public Integer getRetries()
        The number of retries the task currently has left.
        Returns:
        retries
      • setRetries

        public void setRetries​(Integer retries)
      • getSuspended

        public Boolean getSuspended()
        A flag indicating whether the external task is suspended or not.
        Returns:
        suspended
      • setSuspended

        public void setSuspended​(Boolean suspended)
      • getWorkerId

        public String getWorkerId()
        The id of the worker that posesses or posessed the most recent lock.
        Returns:
        workerId
      • setWorkerId

        public void setWorkerId​(String workerId)
      • getTopicName

        public String getTopicName()
        The topic name of the external task.
        Returns:
        topicName
      • setTopicName

        public void setTopicName​(String topicName)
      • getPriority

        public Long getPriority()
        The priority of the external task.
        Returns:
        priority
      • setPriority

        public void setPriority​(Long priority)
      • getBusinessKey

        public String getBusinessKey()
        The business key of the process instance the external task belongs to.
        Returns:
        businessKey
      • setBusinessKey

        public void setBusinessKey​(String businessKey)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object