Package org.flowable.job.api
Interface TimerJobQuery
-
- All Superinterfaces:
BaseJobQuery<TimerJobQuery,Job>,Query<TimerJobQuery,Job>
public interface TimerJobQuery extends BaseJobQuery<TimerJobQuery,Job>
Allows programmatic querying ofJobs.- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimerJobQueryexecutable()Only select jobs which are executable, ie.TimerJobQueryhandlerType(String handlerType)Select jobs which have given job handler typeTimerJobQuerymessages()Only select jobs that are messages.TimerJobQuerytimers()Only select jobs that are timers.-
Methods inherited from interface org.flowable.job.api.BaseJobQuery
caseDefinitionId, 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, processInstanceId, scopeDefinitionId, scopeId, scopeType, subScopeId, withException, withoutProcessInstanceId, withoutScopeId, withoutScopeType
-
-
-
-
Method Detail
-
executable
TimerJobQuery executable()
Only select jobs which are executable, ie. duedate is null or duedate is in the past
-
handlerType
TimerJobQuery handlerType(String handlerType)
Select jobs which have given job handler type- Specified by:
handlerTypein 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()
-
-