Package org.flowable.job.api
Interface SuspendedJobQuery
-
- All Superinterfaces:
BaseJobQuery<SuspendedJobQuery,Job>
,org.flowable.common.engine.api.query.Query<SuspendedJobQuery,Job>
public interface SuspendedJobQuery extends BaseJobQuery<SuspendedJobQuery,Job>
Allows programmatic querying ofJob
s.- Author:
- Joram Barrez, Tijs Rademakers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuspendedJobQuery
executable()
Only select jobs which are executable, ie.SuspendedJobQuery
externalWorkers()
Only select external worker jobs.SuspendedJobQuery
messages()
Only select jobs that are messages.SuspendedJobQuery
noRetriesLeft()
Only select jobs which have no retries leftSuspendedJobQuery
timers()
Only select jobs that are timers.SuspendedJobQuery
withRetriesLeft()
Only select jobs which have retries left-
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
-
withRetriesLeft
SuspendedJobQuery withRetriesLeft()
Only select jobs which have retries left
-
noRetriesLeft
SuspendedJobQuery noRetriesLeft()
Only select jobs which have no retries left
-
executable
SuspendedJobQuery executable()
Only select jobs which are executable, ie. retries > 0 and duedate is null or duedate is in the past
-
timers
SuspendedJobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
orexternalWorkers()
-
messages
SuspendedJobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
orexternalWorkers()
-
externalWorkers
SuspendedJobQuery externalWorkers()
Only select external worker jobs. Cannot be used together withtimers()
ormessages()
-
-