Class TaskSearchResponse
java.lang.Object
io.camunda.tasklist.generated.model.TaskSearchResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-29T10:52:23.981575172Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class TaskSearchResponse
extends Object
TaskSearchResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets implementationstatic enumThe state of the task. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCandidateGroupsItem(String candidateGroupsItem) addCandidateUsersItem(String candidateUsersItem) addSortValuesItem(String sortValuesItem) addVariablesItem(VariableSearchResponse variablesItem) candidateGroups(List<String> candidateGroups) candidateUsers(List<String> candidateUsers) completionDate(String completionDate) creationDate(String creationDate) dueDate(OffsetDateTime dueDate) booleanfollowUpDate(OffsetDateTime followUpDate) formVersion(Long formVersion) The username/id of who is assigned to the task.The candidate groups for the task.The candidate users for the task.When was the task completed (renamed equivalent of `Task.completionTime` field).The context variable (from modeler) of the task.When was the task created (renamed equivalent of `Task.creationTime` field).The due date for the task.The follow-up date for the task.Reference to the ID of a deployed form.Reference to the task form.Reference to the version of a deployed form.getId()The unique identifier of the task.Get implementationA flag to show that the task is first in the current filter.Is the form embedded for this task? If there is no form, this property is null.getName()The name of the task.The assigned priority of the task.Reference to process definition (renamed equivalent of `Task.processDefinitionId` field).Reference to process instance id (renamed equivalent of `Task.processInstanceId` field).The name of the process.Array of values to be copied into `TaskSearchRequest` to request for next or previous page of tasks.User Task ID from the BPMN definition.The state of the task.The tenant ID associated with the task.An array of the task's variables.inthashCode()implementation(TaskSearchResponse.ImplementationEnum implementation) isFormEmbedded(Boolean isFormEmbedded) processDefinitionKey(String processDefinitionKey) processInstanceKey(String processInstanceKey) processName(String processName) voidsetAssignee(String assignee) voidsetCandidateGroups(List<String> candidateGroups) voidsetCandidateUsers(List<String> candidateUsers) voidsetCompletionDate(String completionDate) voidsetContext(String context) voidsetCreationDate(String creationDate) voidsetDueDate(OffsetDateTime dueDate) voidsetFollowUpDate(OffsetDateTime followUpDate) voidvoidsetFormKey(String formKey) voidsetFormVersion(Long formVersion) voidvoidsetImplementation(TaskSearchResponse.ImplementationEnum implementation) voidsetIsFirst(Boolean isFirst) voidsetIsFormEmbedded(Boolean isFormEmbedded) voidvoidsetPriority(Integer priority) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceKey(String processInstanceKey) voidsetProcessName(String processName) voidsetSortValues(List<String> sortValues) voidsetTaskDefinitionId(String taskDefinitionId) voidsetTaskState(TaskSearchResponse.TaskStateEnum taskState) voidsetTenantId(String tenantId) voidsetVariables(List<VariableSearchResponse> variables) sortValues(List<String> sortValues) taskDefinitionId(String taskDefinitionId) taskState(TaskSearchResponse.TaskStateEnum taskState) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.variables(List<VariableSearchResponse> variables)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TASK_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_NAME
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_COMPLETION_DATE
- See Also:
-
JSON_PROPERTY_ASSIGNEE
- See Also:
-
JSON_PROPERTY_TASK_STATE
- See Also:
-
JSON_PROPERTY_SORT_VALUES
- See Also:
-
JSON_PROPERTY_IS_FIRST
- See Also:
-
JSON_PROPERTY_FORM_KEY
- See Also:
-
JSON_PROPERTY_FORM_ID
- See Also:
-
JSON_PROPERTY_FORM_VERSION
- See Also:
-
JSON_PROPERTY_IS_FORM_EMBEDDED
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_FOLLOW_UP_DATE
- See Also:
-
JSON_PROPERTY_CANDIDATE_GROUPS
- See Also:
-
JSON_PROPERTY_CANDIDATE_USERS
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_CONTEXT
- See Also:
-
JSON_PROPERTY_IMPLEMENTATION
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
-
Constructor Details
-
TaskSearchResponse
public TaskSearchResponse()
-
-
Method Details
-
id
-
getId
The unique identifier of the task.- Returns:
- id
-
setId
-
name
-
getName
The name of the task.- Returns:
- name
-
setName
-
taskDefinitionId
-
getTaskDefinitionId
User Task ID from the BPMN definition.- Returns:
- taskDefinitionId
-
setTaskDefinitionId
-
processName
-
getProcessName
The name of the process.- Returns:
- processName
-
setProcessName
-
creationDate
-
getCreationDate
When was the task created (renamed equivalent of `Task.creationTime` field).- Returns:
- creationDate
-
setCreationDate
-
completionDate
-
getCompletionDate
When was the task completed (renamed equivalent of `Task.completionTime` field).- Returns:
- completionDate
-
setCompletionDate
-
assignee
-
getAssignee
The username/id of who is assigned to the task.- Returns:
- assignee
-
setAssignee
-
taskState
-
getTaskState
The state of the task.- Returns:
- taskState
-
setTaskState
-
sortValues
-
addSortValuesItem
-
getSortValues
Array of values to be copied into `TaskSearchRequest` to request for next or previous page of tasks.- Returns:
- sortValues
-
setSortValues
-
isFirst
-
getIsFirst
A flag to show that the task is first in the current filter.- Returns:
- isFirst
-
setIsFirst
-
formKey
-
getFormKey
Reference to the task form.- Returns:
- formKey
-
setFormKey
-
formId
-
getFormId
Reference to the ID of a deployed form. If the form is not deployed, this property is null.- Returns:
- formId
-
setFormId
-
formVersion
-
getFormVersion
Reference to the version of a deployed form. If the form is not deployed, this property is null.- Returns:
- formVersion
-
setFormVersion
-
isFormEmbedded
-
getIsFormEmbedded
Is the form embedded for this task? If there is no form, this property is null.- Returns:
- isFormEmbedded
-
setIsFormEmbedded
-
processDefinitionKey
-
getProcessDefinitionKey
Reference to process definition (renamed equivalent of `Task.processDefinitionId` field).- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
processInstanceKey
-
getProcessInstanceKey
Reference to process instance id (renamed equivalent of `Task.processInstanceId` field).- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
tenantId
-
getTenantId
The tenant ID associated with the task.- Returns:
- tenantId
-
setTenantId
-
dueDate
-
getDueDate
The due date for the task.- Returns:
- dueDate
-
setDueDate
-
followUpDate
-
getFollowUpDate
The follow-up date for the task.- Returns:
- followUpDate
-
setFollowUpDate
-
candidateGroups
-
addCandidateGroupsItem
-
getCandidateGroups
The candidate groups for the task.- Returns:
- candidateGroups
-
setCandidateGroups
-
candidateUsers
-
addCandidateUsersItem
-
getCandidateUsers
The candidate users for the task.- Returns:
- candidateUsers
-
setCandidateUsers
-
variables
-
addVariablesItem
-
getVariables
An array of the task's variables. Only variables specified in `TaskSearchRequest.includeVariables` are returned. Note that a variable's draft value is not returned in `TaskSearchResponse`.- Returns:
- variables
-
setVariables
-
context
-
getContext
The context variable (from modeler) of the task.- Returns:
- context
-
setContext
-
implementation
-
getImplementation
Get implementation- Returns:
- implementation
-
setImplementation
-
priority
-
getPriority
The assigned priority of the task. Only for Zeebe User Tasks.- Returns:
- priority
-
setPriority
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-