Package org.flowable.job.api
Interface TimerJobQuery
-
- All Superinterfaces:
BaseJobQuery<TimerJobQuery,Job>
,org.flowable.common.engine.api.query.Query<TimerJobQuery,Job>
public interface TimerJobQuery extends BaseJobQuery<TimerJobQuery,Job>
Allows programmatic querying ofJob
s.- Author:
- Joram Barrez, Tijs Rademakers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimerJobQuery
executable()
Only select jobs which are executable, ie.TimerJobQuery
handlerType(String handlerType)
Select jobs which have given job handler typeTimerJobQuery
messages()
Only select jobs that are messages.TimerJobQuery
timers()
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:
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()
-
-