Package org.openapitools.client.model
Class ExternalTaskQueryDto
- java.lang.Object
-
- org.openapitools.client.model.ExternalTaskQueryDto
-
public class ExternalTaskQueryDto extends Object
A JSON object with the following properties:
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExternalTaskQueryDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTaskQueryDtoactive(Boolean active)ExternalTaskQueryDtoactivityId(String activityId)ExternalTaskQueryDtoactivityIdIn(List<String> activityIdIn)ExternalTaskQueryDtoaddActivityIdInItem(String activityIdInItem)ExternalTaskQueryDtoaddExternalTaskIdInItem(String externalTaskIdInItem)ExternalTaskQueryDtoaddProcessInstanceIdInItem(String processInstanceIdInItem)ExternalTaskQueryDtoaddSortingItem(ExternalTaskQueryDtoSorting sortingItem)ExternalTaskQueryDtoaddTenantIdInItem(String tenantIdInItem)booleanequals(Object o)ExternalTaskQueryDtoexecutionId(String executionId)ExternalTaskQueryDtoexternalTaskId(String externalTaskId)ExternalTaskQueryDtoexternalTaskIdIn(List<String> externalTaskIdIn)BooleangetActive()Only include active tasks.StringgetActivityId()Filter by the id of the activity that an external task is created for.List<String>getActivityIdIn()Filter by the comma-separated list of ids of the activities that an external task is created for.StringgetExecutionId()Filter by the id of the execution that an external task belongs to.StringgetExternalTaskId()Filter by an external task's id.List<String>getExternalTaskIdIn()Filter by the comma-separated list of external task ids.BooleangetLocked()Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired).DategetLockExpirationAfter()Restrict to external tasks that have a lock that expires after a given date.DategetLockExpirationBefore()Restrict to external tasks that have a lock that expires before a given date.BooleangetNoRetriesLeft()Only include external tasks that have 0 retries.BooleangetNotLocked()Only include external tasks that are currently not locked (i.e., they have no lock or it has expired).LonggetPriorityHigherThanOrEquals()Only include jobs with a priority higher than or equal to the given value.LonggetPriorityLowerThanOrEquals()Only include jobs with a priority lower than or equal to the given value.StringgetProcessDefinitionId()Filter by the id of the process definition that an external task belongs to.StringgetProcessInstanceId()Filter by the id of the process instance that an external task belongs to.List<String>getProcessInstanceIdIn()Filter by a comma-separated list of process instance ids that an external task may belong to.List<ExternalTaskQueryDtoSorting>getSorting()A JSON array of criteria to sort the result by.BooleangetSuspended()Only include suspended tasks.List<String>getTenantIdIn()Filter by a comma-separated list of tenant ids.StringgetTopicName()Filter by an external task topic.BooleangetWithRetriesLeft()Only include external tasks that have a positive (> 0) number of retries (or `null`).StringgetWorkerId()Filter by the id of the worker that the task was most recently locked by.inthashCode()ExternalTaskQueryDtolocked(Boolean locked)ExternalTaskQueryDtolockExpirationAfter(Date lockExpirationAfter)ExternalTaskQueryDtolockExpirationBefore(Date lockExpirationBefore)ExternalTaskQueryDtonoRetriesLeft(Boolean noRetriesLeft)ExternalTaskQueryDtonotLocked(Boolean notLocked)ExternalTaskQueryDtopriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)ExternalTaskQueryDtopriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)ExternalTaskQueryDtoprocessDefinitionId(String processDefinitionId)ExternalTaskQueryDtoprocessInstanceId(String processInstanceId)ExternalTaskQueryDtoprocessInstanceIdIn(List<String> processInstanceIdIn)voidsetActive(Boolean active)voidsetActivityId(String activityId)voidsetActivityIdIn(List<String> activityIdIn)voidsetExecutionId(String executionId)voidsetExternalTaskId(String externalTaskId)voidsetExternalTaskIdIn(List<String> externalTaskIdIn)voidsetLocked(Boolean locked)voidsetLockExpirationAfter(Date lockExpirationAfter)voidsetLockExpirationBefore(Date lockExpirationBefore)voidsetNoRetriesLeft(Boolean noRetriesLeft)voidsetNotLocked(Boolean notLocked)voidsetPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)voidsetPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessInstanceId(String processInstanceId)voidsetProcessInstanceIdIn(List<String> processInstanceIdIn)voidsetSorting(List<ExternalTaskQueryDtoSorting> sorting)voidsetSuspended(Boolean suspended)voidsetTenantIdIn(List<String> tenantIdIn)voidsetTopicName(String topicName)voidsetWithRetriesLeft(Boolean withRetriesLeft)voidsetWorkerId(String workerId)ExternalTaskQueryDtosorting(List<ExternalTaskQueryDtoSorting> sorting)ExternalTaskQueryDtosuspended(Boolean suspended)ExternalTaskQueryDtotenantIdIn(List<String> tenantIdIn)ExternalTaskQueryDtotopicName(String topicName)StringtoString()ExternalTaskQueryDtowithRetriesLeft(Boolean withRetriesLeft)ExternalTaskQueryDtoworkerId(String workerId)
-
-
-
Field Detail
-
SERIALIZED_NAME_EXTERNAL_TASK_ID
public static final String SERIALIZED_NAME_EXTERNAL_TASK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXTERNAL_TASK_ID_IN
public static final String SERIALIZED_NAME_EXTERNAL_TASK_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOPIC_NAME
public static final String SERIALIZED_NAME_TOPIC_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WORKER_ID
public static final String SERIALIZED_NAME_WORKER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCKED
public static final String SERIALIZED_NAME_LOCKED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NOT_LOCKED
public static final String SERIALIZED_NAME_NOT_LOCKED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITH_RETRIES_LEFT
public static final String SERIALIZED_NAME_WITH_RETRIES_LEFT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NO_RETRIES_LEFT
public static final String SERIALIZED_NAME_NO_RETRIES_LEFT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCK_EXPIRATION_AFTER
public static final String SERIALIZED_NAME_LOCK_EXPIRATION_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCK_EXPIRATION_BEFORE
public static final String SERIALIZED_NAME_LOCK_EXPIRATION_BEFORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_ID
public static final String SERIALIZED_NAME_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_ID_IN
public static final String SERIALIZED_NAME_ACTIVITY_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID_IN
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID_IN
public static final String SERIALIZED_NAME_TENANT_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE
public static final String SERIALIZED_NAME_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY_HIGHER_THAN_OR_EQUALS
public static final String SERIALIZED_NAME_PRIORITY_HIGHER_THAN_OR_EQUALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY_LOWER_THAN_OR_EQUALS
public static final String SERIALIZED_NAME_PRIORITY_LOWER_THAN_OR_EQUALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORTING
public static final String SERIALIZED_NAME_SORTING
- See Also:
- Constant Field Values
-
-
Method Detail
-
externalTaskId
public ExternalTaskQueryDto externalTaskId(String externalTaskId)
-
getExternalTaskId
public String getExternalTaskId()
Filter by an external task's id.- Returns:
- externalTaskId
-
setExternalTaskId
public void setExternalTaskId(String externalTaskId)
-
externalTaskIdIn
public ExternalTaskQueryDto externalTaskIdIn(List<String> externalTaskIdIn)
-
addExternalTaskIdInItem
public ExternalTaskQueryDto addExternalTaskIdInItem(String externalTaskIdInItem)
-
getExternalTaskIdIn
public List<String> getExternalTaskIdIn()
Filter by the comma-separated list of external task ids.- Returns:
- externalTaskIdIn
-
topicName
public ExternalTaskQueryDto topicName(String topicName)
-
getTopicName
public String getTopicName()
Filter by an external task topic.- Returns:
- topicName
-
setTopicName
public void setTopicName(String topicName)
-
workerId
public ExternalTaskQueryDto workerId(String workerId)
-
getWorkerId
public String getWorkerId()
Filter by the id of the worker that the task was most recently locked by.- Returns:
- workerId
-
setWorkerId
public void setWorkerId(String workerId)
-
locked
public ExternalTaskQueryDto locked(Boolean locked)
-
getLocked
public Boolean 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
-
setLocked
public void setLocked(Boolean locked)
-
notLocked
public ExternalTaskQueryDto notLocked(Boolean notLocked)
-
getNotLocked
public Boolean 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
-
setNotLocked
public void setNotLocked(Boolean notLocked)
-
withRetriesLeft
public ExternalTaskQueryDto withRetriesLeft(Boolean withRetriesLeft)
-
getWithRetriesLeft
public Boolean 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
-
setWithRetriesLeft
public void setWithRetriesLeft(Boolean withRetriesLeft)
-
noRetriesLeft
public ExternalTaskQueryDto noRetriesLeft(Boolean noRetriesLeft)
-
getNoRetriesLeft
public Boolean getNoRetriesLeft()
Only include external tasks that have 0 retries. Value may only be `true`, as `false` matches any external task.- Returns:
- noRetriesLeft
-
setNoRetriesLeft
public void setNoRetriesLeft(Boolean noRetriesLeft)
-
lockExpirationAfter
public ExternalTaskQueryDto lockExpirationAfter(Date lockExpirationAfter)
-
getLockExpirationAfter
public Date getLockExpirationAfter()
Restrict to external tasks that have a lock that expires after a given date. By [default](https://docs.camunda.org/manual/7.18/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
-
setLockExpirationAfter
public void setLockExpirationAfter(Date lockExpirationAfter)
-
lockExpirationBefore
public ExternalTaskQueryDto lockExpirationBefore(Date lockExpirationBefore)
-
getLockExpirationBefore
public Date getLockExpirationBefore()
Restrict to external tasks that have a lock that expires before a given date. By [default](https://docs.camunda.org/manual/7.18/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
-
setLockExpirationBefore
public void setLockExpirationBefore(Date lockExpirationBefore)
-
activityId
public ExternalTaskQueryDto activityId(String activityId)
-
getActivityId
public String getActivityId()
Filter by the id of the activity that an external task is created for.- Returns:
- activityId
-
setActivityId
public void setActivityId(String activityId)
-
activityIdIn
public ExternalTaskQueryDto activityIdIn(List<String> activityIdIn)
-
addActivityIdInItem
public ExternalTaskQueryDto addActivityIdInItem(String activityIdInItem)
-
getActivityIdIn
public List<String> getActivityIdIn()
Filter by the comma-separated list of ids of the activities that an external task is created for.- Returns:
- activityIdIn
-
executionId
public ExternalTaskQueryDto executionId(String executionId)
-
getExecutionId
public String getExecutionId()
Filter by the id of the execution that an external task belongs to.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
processInstanceId
public ExternalTaskQueryDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
Filter by the id of the process instance that an external task belongs to.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
processInstanceIdIn
public ExternalTaskQueryDto processInstanceIdIn(List<String> processInstanceIdIn)
-
addProcessInstanceIdInItem
public ExternalTaskQueryDto addProcessInstanceIdInItem(String processInstanceIdInItem)
-
getProcessInstanceIdIn
public List<String> getProcessInstanceIdIn()
Filter by a comma-separated list of process instance ids that an external task may belong to.- Returns:
- processInstanceIdIn
-
processDefinitionId
public ExternalTaskQueryDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
Filter by the id of the process definition that an external task belongs to.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
tenantIdIn
public ExternalTaskQueryDto tenantIdIn(List<String> tenantIdIn)
-
addTenantIdInItem
public ExternalTaskQueryDto addTenantIdInItem(String tenantIdInItem)
-
getTenantIdIn
public List<String> getTenantIdIn()
Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids.- Returns:
- tenantIdIn
-
active
public ExternalTaskQueryDto active(Boolean active)
-
getActive
public Boolean getActive()
Only include active tasks. Value may only be `true`, as `false` matches any external task.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
suspended
public ExternalTaskQueryDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
Only include suspended tasks. Value may only be `true`, as `false` matches any external task.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
priorityHigherThanOrEquals
public ExternalTaskQueryDto priorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
getPriorityHigherThanOrEquals
public Long getPriorityHigherThanOrEquals()
Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityHigherThanOrEquals
-
setPriorityHigherThanOrEquals
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
priorityLowerThanOrEquals
public ExternalTaskQueryDto priorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
getPriorityLowerThanOrEquals
public Long getPriorityLowerThanOrEquals()
Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityLowerThanOrEquals
-
setPriorityLowerThanOrEquals
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
sorting
public ExternalTaskQueryDto sorting(List<ExternalTaskQueryDtoSorting> sorting)
-
addSortingItem
public ExternalTaskQueryDto addSortingItem(ExternalTaskQueryDtoSorting sortingItem)
-
getSorting
public List<ExternalTaskQueryDtoSorting> 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
-
setSorting
public void setSorting(List<ExternalTaskQueryDtoSorting> sorting)
-
-