Package org.flowable.job.api
Interface JobQuery
-
public interface JobQuery extends BaseJobQuery<JobQuery,Job>
Allows programmatic querying ofJobs.- Author:
- Joram Barrez, Falko Menge
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobQuerylocked()Only return jobs that are locked (i.e.JobQuerylockOwner(String lockOwner)Only return jobs with the given lock owner.JobQuerymessages()Only select jobs that are messages.JobQuerytimers()Only select jobs that are timers.JobQueryunlocked()Only return jobs that are not locked.-
Methods inherited from interface org.flowable.job.api.BaseJobQuery
caseDefinitionId, caseInstanceId, category, categoryLike, correlationId, duedateHigherThan, duedateLowerThan, elementId, elementName, exceptionMessage, executionId, handlerType, handlerTypes, jobId, jobIds, jobTenantId, jobTenantIdLike, jobWithoutTenantId, orderByExecutionId, orderByJobCreateTime, orderByJobDuedate, orderByJobId, orderByJobRetries, orderByProcessInstanceId, orderByTenantId, planItemInstanceId, processDefinitionId, processInstanceId, scopeDefinitionId, scopeId, scopeType, subScopeId, withException, withoutProcessInstanceId, withoutScopeId, withoutScopeType
-
-
-
-
Method Detail
-
timers
JobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
-
messages
JobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
-
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.
-
-