Package org.flowable.job.api
Interface SuspendedJobQuery
-
- All Superinterfaces:
BaseJobQuery<SuspendedJobQuery,Job>,Query<SuspendedJobQuery,Job>
public interface SuspendedJobQuery extends BaseJobQuery<SuspendedJobQuery,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 SuspendedJobQueryexecutable()Only select jobs which are executable, ie.SuspendedJobQueryexternalWorkers()Only select external worker jobs.SuspendedJobQuerymessages()Only select jobs that are messages.SuspendedJobQuerynoRetriesLeft()Only select jobs which have no retries leftSuspendedJobQuerytimers()Only select jobs that are timers.SuspendedJobQuerywithRetriesLeft()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()
-
-