Package org.flowable.job.api
Interface TimerJobQuery
- All Superinterfaces:
BaseJobQuery<TimerJobQuery,
,Job> Query<TimerJobQuery,
Job>
- All Known Implementing Classes:
TimerJobQueryImpl
Allows programmatic querying of
Job
s.- Author:
- Joram Barrez, Tijs Rademakers
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptionOnly select jobs which are executable, ie.handlerType
(String handlerType) Select jobs which have given job handler typemessages()
Only select jobs that are messages.timers()
Only select jobs that are timers.Methods inherited from interface org.flowable.job.api.BaseJobQuery
caseDefinitionId, caseDefinitionKey, caseInstanceId, category, categoryLike, correlationId, duedateHigherThan, duedateLowerThan, elementId, elementName, exceptionMessage, executionId, handlerTypes, jobId, jobIds, jobTenantId, jobTenantIdLike, jobWithoutTenantId, orderByExecutionId, orderByJobCreateTime, orderByJobDuedate, orderByJobId, orderByJobRetries, orderByProcessInstanceId, orderByTenantId, planItemInstanceId, processDefinitionId, processDefinitionKey, processInstanceId, scopeDefinitionId, scopeId, scopeType, subScopeId, withException, withoutProcessInstanceId, withoutScopeId, withoutScopeType
-
Method Details
-
executable
TimerJobQuery executable()Only select jobs which are executable, ie. duedate is null or duedate is in the past -
handlerType
Select jobs which have given job handler type- Specified by:
handlerType
in interfaceBaseJobQuery<TimerJobQuery,
Job>
-
timers
TimerJobQuery timers()Only select jobs that are timers. Cannot be used together withmessages()
-
messages
TimerJobQuery messages()Only select jobs that are messages. Cannot be used together withtimers()
-