public interface ExternalTaskQuery extends Query<ExternalTaskQuery,ExternalTask>
Modifier and Type | Method and Description |
---|---|
ExternalTaskQuery |
active()
Only select external tasks that are currently not suspended
|
ExternalTaskQuery |
activityId(String activityId)
Only select external tasks that belong to an instance of the given activity
|
ExternalTaskQuery |
executionId(String executionId)
Only select external tasks created in the context of the given execution
|
ExternalTaskQuery |
externalTaskId(String externalTaskId)
Only select the external task with the given id
|
ExternalTaskQuery |
locked()
Only select external tasks that are currently locked, i.e.
|
ExternalTaskQuery |
lockExpirationAfter(Date lockExpirationDate)
Only select external tasks that have a lock expiring after the given date
|
ExternalTaskQuery |
lockExpirationBefore(Date lockExpirationDate)
Only select external tasks that have a lock expiring before the given date
|
ExternalTaskQuery |
noRetriesLeft()
Only select external tasks that have retries = 0
|
ExternalTaskQuery |
notLocked()
Only select external tasks that are not currently locked, i.e.
|
ExternalTaskQuery |
orderById()
Order by external task id (needs to be followed by
Query.asc() or Query.desc() ). |
ExternalTaskQuery |
orderByLockExpirationTime()
Order by lock expiration time (needs to be followed by
Query.asc() or Query.desc() ). |
ExternalTaskQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
ExternalTaskQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ExternalTaskQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
ExternalTaskQuery |
processDefinitionId(String processDefinitionId)
Only select external tasks that belong to an instance of the given process definition
|
ExternalTaskQuery |
processInstanceId(String processInstanceId)
Only select external tasks created in the context of the given process instance
|
ExternalTaskQuery |
suspended()
Only select external tasks that are currently suspended
|
ExternalTaskQuery |
topicName(String topicName)
Only select external tasks of the given topic
|
ExternalTaskQuery |
withRetriesLeft()
Only select external tasks that have retries > 0
|
ExternalTaskQuery |
workerId(String workerId)
Only select external tasks that was most recently locked by the given worker
|
ExternalTaskQuery externalTaskId(String externalTaskId)
ExternalTaskQuery workerId(String workerId)
ExternalTaskQuery lockExpirationBefore(Date lockExpirationDate)
ExternalTaskQuery lockExpirationAfter(Date lockExpirationDate)
ExternalTaskQuery topicName(String topicName)
ExternalTaskQuery locked()
ExternalTaskQuery notLocked()
ExternalTaskQuery executionId(String executionId)
ExternalTaskQuery processInstanceId(String processInstanceId)
ExternalTaskQuery processDefinitionId(String processDefinitionId)
ExternalTaskQuery activityId(String activityId)
ExternalTaskQuery suspended()
ExternalTaskQuery active()
ExternalTaskQuery withRetriesLeft()
ExternalTaskQuery noRetriesLeft()
ExternalTaskQuery orderById()
Query.asc()
or Query.desc()
).ExternalTaskQuery orderByLockExpirationTime()
Query.asc()
or Query.desc()
).
Ordering of tasks with no lock expiration time is database-dependent.ExternalTaskQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).ExternalTaskQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).ExternalTaskQuery orderByProcessDefinitionKey()
Query.asc()
or Query.desc()
).Copyright © 2018. All rights reserved.