Record Class TasklistClient.TaskSearch

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

public static record TasklistClient.TaskSearch(TasklistClient.TaskState state, Boolean assigned, String assignee, List<String> assignees, String taskDefinitionId, String candidateGroup, List<String> candidateGroups, String candidateUser, List<String> candidateUsers, String processDefinitionKey, String processInstanceKey, Integer pageSize, TasklistClient.TaskSearch.DateRange followUpDate, TasklistClient.TaskSearch.DateRange dueDate, List<TasklistClient.TaskSearch.TaskVariable> taskVariables, List<String> tenantIds, List<TasklistClient.TaskSearch.Sort> sort, List<String> searchAfter, List<String> searchAfterOrEqual, List<String> searchBefore, List<String> searchBeforeOrEqual, String after, String before, List<TasklistClient.IncludeVariable> includeVariables, TasklistClient.Implementation implementation, TasklistClient.TaskSearch.Priority priority) extends Record
  • Constructor Details

    • TaskSearch

      public TaskSearch(TasklistClient.TaskState state, Boolean assigned, String assignee, List<String> assignees, String taskDefinitionId, String candidateGroup, List<String> candidateGroups, String candidateUser, List<String> candidateUsers, String processDefinitionKey, String processInstanceKey, Integer pageSize, TasklistClient.TaskSearch.DateRange followUpDate, TasklistClient.TaskSearch.DateRange dueDate, List<TasklistClient.TaskSearch.TaskVariable> taskVariables, List<String> tenantIds, List<TasklistClient.TaskSearch.Sort> sort, List<String> searchAfter, List<String> searchAfterOrEqual, List<String> searchBefore, List<String> searchBeforeOrEqual, String after, String before, List<TasklistClient.IncludeVariable> includeVariables, TasklistClient.Implementation implementation, TasklistClient.TaskSearch.Priority priority)
      Creates an instance of a TaskSearch record class.
      Parameters:
      state - the value for the state record component
      assigned - the value for the assigned record component
      assignee - the value for the assignee record component
      assignees - the value for the assignees record component
      taskDefinitionId - the value for the taskDefinitionId record component
      candidateGroup - the value for the candidateGroup record component
      candidateGroups - the value for the candidateGroups record component
      candidateUser - the value for the candidateUser record component
      candidateUsers - the value for the candidateUsers record component
      processDefinitionKey - the value for the processDefinitionKey record component
      processInstanceKey - the value for the processInstanceKey record component
      pageSize - the value for the pageSize record component
      followUpDate - the value for the followUpDate record component
      dueDate - the value for the dueDate record component
      taskVariables - the value for the taskVariables record component
      tenantIds - the value for the tenantIds record component
      sort - the value for the sort record component
      searchAfter - the value for the searchAfter record component
      searchAfterOrEqual - the value for the searchAfterOrEqual record component
      searchBefore - the value for the searchBefore record component
      searchBeforeOrEqual - the value for the searchBeforeOrEqual record component
      after - the value for the after record component
      before - the value for the before record component
      includeVariables - the value for the includeVariables 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.
    • state

      public TasklistClient.TaskState state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • assigned

      public Boolean assigned()
      Returns the value of the assigned record component.
      Returns:
      the value of the assigned record component
    • assignee

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

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

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

      public String candidateGroup()
      Returns the value of the candidateGroup record component.
      Returns:
      the value of the candidateGroup record component
    • candidateGroups

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

      public String candidateUser()
      Returns the value of the candidateUser record component.
      Returns:
      the value of the candidateUser record component
    • candidateUsers

      public List<String> candidateUsers()
      Returns the value of the candidateUsers record component.
      Returns:
      the value of the candidateUsers 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
    • pageSize

      public Integer pageSize()
      Returns the value of the pageSize record component.
      Returns:
      the value of the pageSize record component
    • followUpDate

      public TasklistClient.TaskSearch.DateRange followUpDate()
      Returns the value of the followUpDate record component.
      Returns:
      the value of the followUpDate record component
    • dueDate

      Returns the value of the dueDate record component.
      Returns:
      the value of the dueDate record component
    • taskVariables

      Returns the value of the taskVariables record component.
      Returns:
      the value of the taskVariables record component
    • tenantIds

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

      Returns the value of the sort record component.
      Returns:
      the value of the sort record component
    • searchAfter

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

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

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

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

      public String after()
      Returns the value of the after record component.
      Returns:
      the value of the after record component
    • before

      public String before()
      Returns the value of the before record component.
      Returns:
      the value of the before record component
    • includeVariables

      public List<TasklistClient.IncludeVariable> includeVariables()
      Returns the value of the includeVariables record component.
      Returns:
      the value of the includeVariables record component
    • implementation

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

      Returns the value of the priority record component.
      Returns:
      the value of the priority record component