Class UserTaskImpl

java.lang.Object
io.camunda.client.impl.search.response.UserTaskImpl
All Implemented Interfaces:
UserTask

public class UserTaskImpl extends Object implements UserTask
  • Constructor Details

  • Method Details

    • getUserTaskKey

      public Long getUserTaskKey()
      Specified by:
      getUserTaskKey in interface UserTask
    • getName

      public String getName()
      Description copied from interface: UserTask
      Name of the task
      Specified by:
      getName in interface UserTask
    • getState

      public UserTaskState getState()
      Description copied from interface: UserTask
      State of the task
      Specified by:
      getState in interface UserTask
    • getAssignee

      public String getAssignee()
      Description copied from interface: UserTask
      Assignee of the task
      Specified by:
      getAssignee in interface UserTask
    • getElementId

      public String getElementId()
      Description copied from interface: UserTask
      Element ID
      Specified by:
      getElementId in interface UserTask
    • getElementInstanceKey

      public Long getElementInstanceKey()
      Description copied from interface: UserTask
      Instance key of the element
      Specified by:
      getElementInstanceKey in interface UserTask
    • getCandidateGroups

      public List<String> getCandidateGroups()
      Description copied from interface: UserTask
      Candidate groups for the task
      Specified by:
      getCandidateGroups in interface UserTask
    • getCandidateUsers

      public List<String> getCandidateUsers()
      Description copied from interface: UserTask
      Candidate users for the task
      Specified by:
      getCandidateUsers in interface UserTask
    • getBpmnProcessId

      public String getBpmnProcessId()
      Description copied from interface: UserTask
      BPMN process id of the process associated with this task
      Specified by:
      getBpmnProcessId in interface UserTask
    • getProcessName

      public String getProcessName()
      Description copied from interface: UserTask
      Name of the process definition
      Specified by:
      getProcessName in interface UserTask
    • getProcessDefinitionKey

      public Long getProcessDefinitionKey()
      Description copied from interface: UserTask
      Key of the process definition
      Specified by:
      getProcessDefinitionKey in interface UserTask
    • getProcessInstanceKey

      public Long getProcessInstanceKey()
      Description copied from interface: UserTask
      Key of the process instance
      Specified by:
      getProcessInstanceKey in interface UserTask
    • getRootProcessInstanceKey

      public Long getRootProcessInstanceKey()
      Description copied from interface: UserTask
      Returns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.

      Note: This field is null for process instance hierarchies created before version 8.9.

      Specified by:
      getRootProcessInstanceKey in interface UserTask
      Returns:
      the root process instance key, or null for data created before version 8.9
    • getBusinessId

      public String getBusinessId()
      Description copied from interface: UserTask
      Returns the business ID of the owning process instance, inherited when the user task was created.

      Note: This field is null for user tasks created before version 8.10, and when the owning process instance has no business ID.

      Specified by:
      getBusinessId in interface UserTask
      Returns:
      the business ID, or null when not set
    • getFormKey

      public Long getFormKey()
      Description copied from interface: UserTask
      Key of the form
      Specified by:
      getFormKey in interface UserTask
    • getCreationDate

      public OffsetDateTime getCreationDate()
      Description copied from interface: UserTask
      Creation date of the task
      Specified by:
      getCreationDate in interface UserTask
    • getCompletionDate

      public OffsetDateTime getCompletionDate()
      Description copied from interface: UserTask
      Completion date of the task
      Specified by:
      getCompletionDate in interface UserTask
    • getFollowUpDate

      public OffsetDateTime getFollowUpDate()
      Description copied from interface: UserTask
      Follow-up date of the task
      Specified by:
      getFollowUpDate in interface UserTask
    • getDueDate

      public OffsetDateTime getDueDate()
      Description copied from interface: UserTask
      Due date of the task
      Specified by:
      getDueDate in interface UserTask
    • getTenantId

      public String getTenantId()
      Description copied from interface: UserTask
      Tenant identifiers
      Specified by:
      getTenantId in interface UserTask
    • getExternalFormReference

      public String getExternalFormReference()
      Description copied from interface: UserTask
      External form reference
      Specified by:
      getExternalFormReference in interface UserTask
    • getProcessDefinitionVersion

      public Integer getProcessDefinitionVersion()
      Description copied from interface: UserTask
      Version of the process definition
      Specified by:
      getProcessDefinitionVersion in interface UserTask
    • getCustomHeaders

      public Map<String,String> getCustomHeaders()
      Description copied from interface: UserTask
      Custom headers associated with the task
      Specified by:
      getCustomHeaders in interface UserTask
    • getPriority

      public Integer getPriority()
      Description copied from interface: UserTask
      Priority of the task
      Specified by:
      getPriority in interface UserTask
    • getTags

      public Set<String> getTags()
      Description copied from interface: UserTask
      Tags associated with the task
      Specified by:
      getTags in interface UserTask