Interface JobDefinitionQuery
- All Superinterfaces:
Query<JobDefinitionQuery,
JobDefinition>
- All Known Implementing Classes:
JobDefinitionQueryImpl
Allows programmatic querying of
JobDefinition
s.- Author:
- roman.smirnov
-
Method Summary
Modifier and TypeMethodDescriptionactive()
Only selects job definitions which are activeactivityIdIn
(String... activityIds) Only select job definitions which exist for the listed activity idsSelect job definitions which have no tenant id.jobConfiguration
(String jobConfiguration) Only select job definitions which contain the configuration.jobDefinitionId
(String jobDefinitionId) Only select job definitions with the given idOnly select job definitions which have the given job type.Order by activty id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job configuration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job type (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process defintion id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Only select job definitions which exist for the given process definition id.processDefinitionKey
(String processDefinitionKey) Only select job definitions which exist for the given process definition key.Only selects job definitions which are suspendedtenantIdIn
(String... tenantIds) Only select job definitions that belong to one of the given tenant ids.Only select job definitions which have no tenant id.Only selects job definitions which have a job priority defined.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
jobDefinitionId
Only select job definitions with the given id -
activityIdIn
Only select job definitions which exist for the listed activity ids -
processDefinitionId
Only select job definitions which exist for the given process definition id. -
processDefinitionKey
Only select job definitions which exist for the given process definition key. -
jobType
Only select job definitions which have the given job type. -
jobConfiguration
Only select job definitions which contain the configuration. -
active
JobDefinitionQuery active()Only selects job definitions which are active -
suspended
JobDefinitionQuery suspended()Only selects job definitions which are suspended -
withOverridingJobPriority
JobDefinitionQuery withOverridingJobPriority()Only selects job definitions which have a job priority defined.- Since:
- 7.4
-
tenantIdIn
Only select job definitions that belong to one of the given tenant ids. -
withoutTenantId
JobDefinitionQuery withoutTenantId()Only select job definitions which have no tenant id. -
includeJobDefinitionsWithoutTenantId
JobDefinitionQuery includeJobDefinitionsWithoutTenantId()Select job definitions which have no tenant id. Can be used in combination withtenantIdIn(String...)
. -
orderByJobDefinitionId
JobDefinitionQuery orderByJobDefinitionId()Order by id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityId
JobDefinitionQuery orderByActivityId()Order by activty id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionId
JobDefinitionQuery orderByProcessDefinitionId()Order by process defintion id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionKey
JobDefinitionQuery orderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobType
JobDefinitionQuery orderByJobType()Order by job type (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobConfiguration
JobDefinitionQuery orderByJobConfiguration()Order by job configuration (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
JobDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of job definitions without tenant id is database-specific.
-