Record Class TasklistClient.TaskFromSearch

java.lang.Object
java.lang.Record
io.camunda.tasklist.TasklistClient.TaskFromSearch
Enclosing interface:
TasklistClient

public static record TasklistClient.TaskFromSearch(String id, String name, String taskDefinitionId, String processName, OffsetDateTime creationDate, OffsetDateTime completionDate, String assignee, TasklistClient.TaskState taskState, Boolean isFirst, String formKey, String formId, Boolean isFormEmbedded, String processDefinitionKey, String processInstanceKey, String tenantId, OffsetDateTime dueDate, OffsetDateTime followUpDate, List<String> candidateGroups, List<String> candidateUsers, List<TasklistClient.VariableFromSearch> variables, TasklistClient.Implementation implementation, Integer priority) extends Record
  • Constructor Details

    • TaskFromSearch

      public TaskFromSearch(String id, String name, String taskDefinitionId, String processName, OffsetDateTime creationDate, OffsetDateTime completionDate, String assignee, TasklistClient.TaskState taskState, Boolean isFirst, String formKey, String formId, Boolean isFormEmbedded, String processDefinitionKey, String processInstanceKey, String tenantId, OffsetDateTime dueDate, OffsetDateTime followUpDate, List<String> candidateGroups, List<String> candidateUsers, List<TasklistClient.VariableFromSearch> variables, TasklistClient.Implementation implementation, Integer priority)
      Creates an instance of a TaskFromSearch record class.
      Parameters:
      id - the value for the id record component
      name - the value for the name record component
      taskDefinitionId - the value for the taskDefinitionId record component
      processName - the value for the processName record component
      creationDate - the value for the creationDate record component
      completionDate - the value for the completionDate record component
      assignee - the value for the assignee record component
      taskState - the value for the taskState record component
      isFirst - the value for the isFirst record component
      formKey - the value for the formKey record component
      formId - the value for the formId record component
      isFormEmbedded - the value for the isFormEmbedded record component
      processDefinitionKey - the value for the processDefinitionKey record component
      processInstanceKey - the value for the processInstanceKey record component
      tenantId - the value for the tenantId record component
      dueDate - the value for the dueDate record component
      followUpDate - the value for the followUpDate record component
      candidateGroups - the value for the candidateGroups record component
      candidateUsers - the value for the candidateUsers record component
      variables - the value for the variables record component
      implementation - the value for the implementation record component
      priority - the value for the priority record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • taskDefinitionId

      public String taskDefinitionId()
      Returns the value of the taskDefinitionId record component.
      Returns:
      the value of the taskDefinitionId record component
    • processName

      public String processName()
      Returns the value of the processName record component.
      Returns:
      the value of the processName record component
    • creationDate

      public OffsetDateTime creationDate()
      Returns the value of the creationDate record component.
      Returns:
      the value of the creationDate record component
    • completionDate

      public OffsetDateTime completionDate()
      Returns the value of the completionDate record component.
      Returns:
      the value of the completionDate record component
    • assignee

      public String assignee()
      Returns the value of the assignee record component.
      Returns:
      the value of the assignee record component
    • taskState

      public TasklistClient.TaskState taskState()
      Returns the value of the taskState record component.
      Returns:
      the value of the taskState record component
    • isFirst

      public Boolean isFirst()
      Returns the value of the isFirst record component.
      Returns:
      the value of the isFirst record component
    • formKey

      public String formKey()
      Returns the value of the formKey record component.
      Returns:
      the value of the formKey record component
    • formId

      public String formId()
      Returns the value of the formId record component.
      Returns:
      the value of the formId record component
    • isFormEmbedded

      public Boolean isFormEmbedded()
      Returns the value of the isFormEmbedded record component.
      Returns:
      the value of the isFormEmbedded record component
    • processDefinitionKey

      public String processDefinitionKey()
      Returns the value of the processDefinitionKey record component.
      Returns:
      the value of the processDefinitionKey record component
    • processInstanceKey

      public String processInstanceKey()
      Returns the value of the processInstanceKey record component.
      Returns:
      the value of the processInstanceKey record component
    • tenantId

      public String tenantId()
      Returns the value of the tenantId record component.
      Returns:
      the value of the tenantId record component
    • dueDate

      public OffsetDateTime dueDate()
      Returns the value of the dueDate record component.
      Returns:
      the value of the dueDate record component
    • followUpDate

      public OffsetDateTime followUpDate()
      Returns the value of the followUpDate record component.
      Returns:
      the value of the followUpDate record component
    • candidateGroups

      public List<String> candidateGroups()
      Returns the value of the candidateGroups record component.
      Returns:
      the value of the candidateGroups record component
    • candidateUsers

      public List<String> candidateUsers()
      Returns the value of the candidateUsers record component.
      Returns:
      the value of the candidateUsers record component
    • variables

      Returns the value of the variables record component.
      Returns:
      the value of the variables record component
    • implementation

      public TasklistClient.Implementation implementation()
      Returns the value of the implementation record component.
      Returns:
      the value of the implementation record component
    • priority

      public Integer priority()
      Returns the value of the priority record component.
      Returns:
      the value of the priority record component