Class ExternalTaskQueryDto
java.lang.Object
org.camunda.community.rest.client.dto.ExternalTaskQueryDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class ExternalTaskQueryDto
extends Object
A JSON object with the following properties:
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) activityIdIn(List<String> activityIdIn) addActivityIdInItem(String activityIdInItem) addExternalTaskIdInItem(String externalTaskIdInItem) addProcessInstanceIdInItem(String processInstanceIdInItem) addSortingItem(ExternalTaskQueryDtoSortingInner sortingItem) addTenantIdInItem(String tenantIdInItem) booleanexecutionId(String executionId) externalTaskId(String externalTaskId) externalTaskIdIn(List<String> externalTaskIdIn) Only include active tasks.org.openapitools.jackson.nullable.JsonNullable<Boolean>Filter by the id of the activity that an external task is created for.org.openapitools.jackson.nullable.JsonNullable<String>Filter by the comma-separated list of ids of the activities that an external task is created for.Filter by the id of the execution that an external task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>Filter by an external task's id.org.openapitools.jackson.nullable.JsonNullable<String>Filter by the comma-separated list of external task ids.Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired).org.openapitools.jackson.nullable.JsonNullable<Boolean>Restrict to external tasks that have a lock that expires after a given date.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Restrict to external tasks that have a lock that expires before a given date.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Only include external tasks that have 0 retries.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only include external tasks that are currently not locked (i.e., they have no lock or it has expired).org.openapitools.jackson.nullable.JsonNullable<Boolean>Only include jobs with a priority higher than or equal to the given value.org.openapitools.jackson.nullable.JsonNullable<Long>Only include jobs with a priority lower than or equal to the given value.org.openapitools.jackson.nullable.JsonNullable<Long>Filter by the id of the process definition that an external task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>Filter by the id of the process instance that an external task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>Filter by a comma-separated list of process instance ids that an external task may belong to.A JSON array of criteria to sort the result by.org.openapitools.jackson.nullable.JsonNullable<List<ExternalTaskQueryDtoSortingInner>>Only include suspended tasks.org.openapitools.jackson.nullable.JsonNullable<Boolean>Filter by a comma-separated list of tenant ids.Filter by an external task topic.org.openapitools.jackson.nullable.JsonNullable<String>Only include external tasks that have a positive (> 0) number of retries (or `null`).org.openapitools.jackson.nullable.JsonNullable<Boolean>Filter by the id of the worker that the task was most recently locked by.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()lockExpirationAfter(OffsetDateTime lockExpirationAfter) lockExpirationBefore(OffsetDateTime lockExpirationBefore) noRetriesLeft(Boolean noRetriesLeft) priorityHigherThanOrEquals(Long priorityHigherThanOrEquals) priorityLowerThanOrEquals(Long priorityLowerThanOrEquals) processDefinitionId(String processDefinitionId) processInstanceId(String processInstanceId) processInstanceIdIn(List<String> processInstanceIdIn) voidvoidsetActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> active) voidsetActivityId(String activityId) voidsetActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> activityId) voidsetActivityIdIn(List<String> activityIdIn) voidsetActivityIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> activityIdIn) voidsetExecutionId(String executionId) voidsetExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) voidsetExternalTaskId(String externalTaskId) voidsetExternalTaskId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> externalTaskId) voidsetExternalTaskIdIn(List<String> externalTaskIdIn) voidsetExternalTaskIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> externalTaskIdIn) voidvoidsetLocked_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> locked) voidsetLockExpirationAfter(OffsetDateTime lockExpirationAfter) voidsetLockExpirationAfter_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lockExpirationAfter) voidsetLockExpirationBefore(OffsetDateTime lockExpirationBefore) voidsetLockExpirationBefore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lockExpirationBefore) voidsetNoRetriesLeft(Boolean noRetriesLeft) voidsetNoRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> noRetriesLeft) voidsetNotLocked(Boolean notLocked) voidsetNotLocked_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> notLocked) voidsetPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals) voidsetPriorityHigherThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityHigherThanOrEquals) voidsetPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals) voidsetPriorityLowerThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityLowerThanOrEquals) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) voidsetProcessInstanceIdIn(List<String> processInstanceIdIn) voidsetProcessInstanceIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> processInstanceIdIn) voidsetSorting(List<ExternalTaskQueryDtoSortingInner> sorting) voidsetSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<ExternalTaskQueryDtoSortingInner>> sorting) voidsetSuspended(Boolean suspended) voidsetSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) voidsetTenantIdIn(List<String> tenantIdIn) voidsetTenantIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tenantIdIn) voidsetTopicName(String topicName) voidsetTopicName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> topicName) voidsetWithRetriesLeft(Boolean withRetriesLeft) voidsetWithRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withRetriesLeft) voidsetWorkerId(String workerId) voidsetWorkerId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> workerId) sorting(List<ExternalTaskQueryDtoSortingInner> sorting) tenantIdIn(List<String> tenantIdIn) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.withRetriesLeft(Boolean withRetriesLeft)
-
Field Details
-
JSON_PROPERTY_EXTERNAL_TASK_ID
- See Also:
-
JSON_PROPERTY_EXTERNAL_TASK_ID_IN
- See Also:
-
JSON_PROPERTY_TOPIC_NAME
- See Also:
-
JSON_PROPERTY_WORKER_ID
- See Also:
-
JSON_PROPERTY_LOCKED
- See Also:
-
JSON_PROPERTY_NOT_LOCKED
- See Also:
-
JSON_PROPERTY_WITH_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_NO_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_LOCK_EXPIRATION_AFTER
- See Also:
-
JSON_PROPERTY_LOCK_EXPIRATION_BEFORE
- See Also:
-
JSON_PROPERTY_ACTIVITY_ID
- See Also:
-
JSON_PROPERTY_ACTIVITY_ID_IN
- See Also:
-
JSON_PROPERTY_EXECUTION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_ID_IN
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_TENANT_ID_IN
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_SUSPENDED
- See Also:
-
JSON_PROPERTY_PRIORITY_HIGHER_THAN_OR_EQUALS
- See Also:
-
JSON_PROPERTY_PRIORITY_LOWER_THAN_OR_EQUALS
- See Also:
-
JSON_PROPERTY_SORTING
- See Also:
-
-
Constructor Details
-
ExternalTaskQueryDto
public ExternalTaskQueryDto()
-
-
Method Details
-
externalTaskId
-
getExternalTaskId
Filter by an external task's id.- Returns:
- externalTaskId
-
getExternalTaskId_JsonNullable
-
setExternalTaskId_JsonNullable
public void setExternalTaskId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> externalTaskId) -
setExternalTaskId
-
externalTaskIdIn
-
addExternalTaskIdInItem
-
getExternalTaskIdIn
Filter by the comma-separated list of external task ids.- Returns:
- externalTaskIdIn
-
getExternalTaskIdIn_JsonNullable
-
setExternalTaskIdIn_JsonNullable
-
setExternalTaskIdIn
-
topicName
-
getTopicName
Filter by an external task topic.- Returns:
- topicName
-
getTopicName_JsonNullable
-
setTopicName_JsonNullable
public void setTopicName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> topicName) -
setTopicName
-
workerId
-
getWorkerId
Filter by the id of the worker that the task was most recently locked by.- Returns:
- workerId
-
getWorkerId_JsonNullable
-
setWorkerId_JsonNullable
public void setWorkerId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> workerId) -
setWorkerId
-
locked
-
getLocked
Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be `true`, as `false` matches any external task.- Returns:
- locked
-
getLocked_JsonNullable
-
setLocked_JsonNullable
-
setLocked
-
notLocked
-
getNotLocked
Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be `true`, as `false` matches any external task.- Returns:
- notLocked
-
getNotLocked_JsonNullable
-
setNotLocked_JsonNullable
public void setNotLocked_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> notLocked) -
setNotLocked
-
withRetriesLeft
-
getWithRetriesLeft
Only include external tasks that have a positive (> 0) number of retries (or `null`). Value may only be `true`, as `false` matches any external task.- Returns:
- withRetriesLeft
-
getWithRetriesLeft_JsonNullable
-
setWithRetriesLeft_JsonNullable
public void setWithRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withRetriesLeft) -
setWithRetriesLeft
-
noRetriesLeft
-
getNoRetriesLeft
Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task.- Returns:
- noRetriesLeft
-
getNoRetriesLeft_JsonNullable
-
setNoRetriesLeft_JsonNullable
public void setNoRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> noRetriesLeft) -
setNoRetriesLeft
-
lockExpirationAfter
-
getLockExpirationAfter
Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- lockExpirationAfter
-
getLockExpirationAfter_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getLockExpirationAfter_JsonNullable() -
setLockExpirationAfter_JsonNullable
public void setLockExpirationAfter_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lockExpirationAfter) -
setLockExpirationAfter
-
lockExpirationBefore
-
getLockExpirationBefore
Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- lockExpirationBefore
-
getLockExpirationBefore_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getLockExpirationBefore_JsonNullable() -
setLockExpirationBefore_JsonNullable
public void setLockExpirationBefore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lockExpirationBefore) -
setLockExpirationBefore
-
activityId
-
getActivityId
Filter by the id of the activity that an external task is created for.- Returns:
- activityId
-
getActivityId_JsonNullable
-
setActivityId_JsonNullable
public void setActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> activityId) -
setActivityId
-
activityIdIn
-
addActivityIdInItem
-
getActivityIdIn
Filter by the comma-separated list of ids of the activities that an external task is created for.- Returns:
- activityIdIn
-
getActivityIdIn_JsonNullable
-
setActivityIdIn_JsonNullable
-
setActivityIdIn
-
executionId
-
getExecutionId
Filter by the id of the execution that an external task belongs to.- Returns:
- executionId
-
getExecutionId_JsonNullable
-
setExecutionId_JsonNullable
public void setExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) -
setExecutionId
-
processInstanceId
-
getProcessInstanceId
Filter by the id of the process instance that an external task belongs to.- Returns:
- processInstanceId
-
getProcessInstanceId_JsonNullable
-
setProcessInstanceId_JsonNullable
public void setProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) -
setProcessInstanceId
-
processInstanceIdIn
-
addProcessInstanceIdInItem
-
getProcessInstanceIdIn
Filter by a comma-separated list of process instance ids that an external task may belong to.- Returns:
- processInstanceIdIn
-
getProcessInstanceIdIn_JsonNullable
-
setProcessInstanceIdIn_JsonNullable
-
setProcessInstanceIdIn
-
processDefinitionId
-
getProcessDefinitionId
Filter by the id of the process definition that an external task belongs to.- Returns:
- processDefinitionId
-
getProcessDefinitionId_JsonNullable
-
setProcessDefinitionId_JsonNullable
public void setProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) -
setProcessDefinitionId
-
tenantIdIn
-
addTenantIdInItem
-
getTenantIdIn
Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids.- Returns:
- tenantIdIn
-
getTenantIdIn_JsonNullable
-
setTenantIdIn_JsonNullable
-
setTenantIdIn
-
active
-
getActive
Only include active tasks. Value may only be `true`, as `false` matches any external task.- Returns:
- active
-
getActive_JsonNullable
-
setActive_JsonNullable
-
setActive
-
suspended
-
getSuspended
Only include suspended tasks. Value may only be `true`, as `false` matches any external task.- Returns:
- suspended
-
getSuspended_JsonNullable
-
setSuspended_JsonNullable
public void setSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) -
setSuspended
-
priorityHigherThanOrEquals
-
getPriorityHigherThanOrEquals
Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityHigherThanOrEquals
-
getPriorityHigherThanOrEquals_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Long> getPriorityHigherThanOrEquals_JsonNullable() -
setPriorityHigherThanOrEquals_JsonNullable
public void setPriorityHigherThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityHigherThanOrEquals) -
setPriorityHigherThanOrEquals
-
priorityLowerThanOrEquals
-
getPriorityLowerThanOrEquals
Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityLowerThanOrEquals
-
getPriorityLowerThanOrEquals_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Long> getPriorityLowerThanOrEquals_JsonNullable() -
setPriorityLowerThanOrEquals_JsonNullable
public void setPriorityLowerThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityLowerThanOrEquals) -
setPriorityLowerThanOrEquals
-
sorting
-
addSortingItem
-
getSorting
A JSON array of criteria to sort the result by. Each element of the array is a JSON object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. The ordering objects have the following properties: **Note:** The `sorting` properties will not be applied to the External Task count query.- Returns:
- sorting
-
getSorting_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<ExternalTaskQueryDtoSortingInner>> getSorting_JsonNullable() -
setSorting_JsonNullable
public void setSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<ExternalTaskQueryDtoSortingInner>> sorting) -
setSorting
-
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
-