Interface JobQuery
- All Known Implementing Classes:
JobQueryImpl
Allows programmatic querying of
Jobs.- Author:
- Joram Barrez, Falko Menge
-
Nested Class Summary
Nested classes/interfaces inherited from interface Query
Query.NullHandlingOnOrder -
Method Summary
Modifier and TypeMethodDescriptionlocked()Only return jobs that are locked (i.e. they are acquired by an executor).Only return jobs with the given lock owner.messages()Only select jobs that are messages.timers()Only select jobs that are timers.unlocked()Only return jobs that are not locked.Methods inherited from interface BaseJobQuery
caseDefinitionId, caseDefinitionKey, caseInstanceId, category, categoryLike, correlationId, duedateHigherThan, duedateLowerThan, elementId, elementName, endOr, exceptionMessage, executionId, handlerType, handlerTypes, jobId, jobIds, jobTenantId, jobTenantIdLike, jobWithoutTenantId, or, orderByExecutionId, orderByJobCreateTime, orderByJobDuedate, orderByJobId, orderByJobRetries, orderByProcessInstanceId, orderByTenantId, planItemInstanceId, processDefinitionId, processDefinitionKey, processInstanceId, scopeDefinitionId, scopeId, scopeType, subScopeId, withException, withoutProcessInstanceId, withoutScopeId, withoutScopeType
-
Method Details
-
timers
JobQuery timers()Only select jobs that are timers. Cannot be used together withmessages() -
messages
-
lockOwner
-
locked
JobQuery locked()Only return jobs that are locked (i.e. they are acquired by an executor). -
unlocked
JobQuery unlocked()Only return jobs that are not locked.
-