Package io.camunda.tasklist
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 Summary
ConstructorsConstructorDescriptionTaskFromSearch(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 aTaskFromSearchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionassignee()Returns the value of theassigneerecord component.Returns the value of thecandidateGroupsrecord component.Returns the value of thecandidateUsersrecord component.Returns the value of thecompletionDaterecord component.Returns the value of thecreationDaterecord component.dueDate()Returns the value of thedueDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefollowUpDaterecord component.formId()Returns the value of theformIdrecord component.formKey()Returns the value of theformKeyrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theimplementationrecord component.isFirst()Returns the value of theisFirstrecord component.Returns the value of theisFormEmbeddedrecord component.name()Returns the value of thenamerecord component.priority()Returns the value of thepriorityrecord component.Returns the value of theprocessDefinitionKeyrecord component.Returns the value of theprocessInstanceKeyrecord component.Returns the value of theprocessNamerecord component.Returns the value of thetaskDefinitionIdrecord component.Returns the value of thetaskStaterecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariablesrecord component.
-
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 aTaskFromSearchrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componenttaskDefinitionId- the value for thetaskDefinitionIdrecord componentprocessName- the value for theprocessNamerecord componentcreationDate- the value for thecreationDaterecord componentcompletionDate- the value for thecompletionDaterecord componentassignee- the value for theassigneerecord componenttaskState- the value for thetaskStaterecord componentisFirst- the value for theisFirstrecord componentformKey- the value for theformKeyrecord componentformId- the value for theformIdrecord componentisFormEmbedded- the value for theisFormEmbeddedrecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componentprocessInstanceKey- the value for theprocessInstanceKeyrecord componenttenantId- the value for thetenantIdrecord componentdueDate- the value for thedueDaterecord componentfollowUpDate- the value for thefollowUpDaterecord componentcandidateGroups- the value for thecandidateGroupsrecord componentcandidateUsers- the value for thecandidateUsersrecord componentvariables- the value for thevariablesrecord componentimplementation- the value for theimplementationrecord componentpriority- the value for thepriorityrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
taskDefinitionId
Returns the value of thetaskDefinitionIdrecord component.- Returns:
- the value of the
taskDefinitionIdrecord component
-
processName
Returns the value of theprocessNamerecord component.- Returns:
- the value of the
processNamerecord component
-
creationDate
Returns the value of thecreationDaterecord component.- Returns:
- the value of the
creationDaterecord component
-
completionDate
Returns the value of thecompletionDaterecord component.- Returns:
- the value of the
completionDaterecord component
-
assignee
Returns the value of theassigneerecord component.- Returns:
- the value of the
assigneerecord component
-
taskState
Returns the value of thetaskStaterecord component.- Returns:
- the value of the
taskStaterecord component
-
isFirst
Returns the value of theisFirstrecord component.- Returns:
- the value of the
isFirstrecord component
-
formKey
Returns the value of theformKeyrecord component.- Returns:
- the value of the
formKeyrecord component
-
formId
Returns the value of theformIdrecord component.- Returns:
- the value of the
formIdrecord component
-
isFormEmbedded
Returns the value of theisFormEmbeddedrecord component.- Returns:
- the value of the
isFormEmbeddedrecord component
-
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
processInstanceKey
Returns the value of theprocessInstanceKeyrecord component.- Returns:
- the value of the
processInstanceKeyrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
dueDate
Returns the value of thedueDaterecord component.- Returns:
- the value of the
dueDaterecord component
-
followUpDate
Returns the value of thefollowUpDaterecord component.- Returns:
- the value of the
followUpDaterecord component
-
candidateGroups
Returns the value of thecandidateGroupsrecord component.- Returns:
- the value of the
candidateGroupsrecord component
-
candidateUsers
Returns the value of thecandidateUsersrecord component.- Returns:
- the value of the
candidateUsersrecord component
-
variables
Returns the value of thevariablesrecord component.- Returns:
- the value of the
variablesrecord component
-
implementation
Returns the value of theimplementationrecord component.- Returns:
- the value of the
implementationrecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-