public interface JobDefinitionQuery extends Query<JobDefinitionQuery,JobDefinition>
JobDefinition
s.Modifier and Type | Method and Description |
---|---|
JobDefinitionQuery |
active()
Only selects job definitions which are active
|
JobDefinitionQuery |
activityIdIn(String... activityIds)
Only select job definitions which exist for the listed activity ids
|
JobDefinitionQuery |
includeJobDefinitionsWithoutTenantId()
Select job definitions which have no tenant id.
|
JobDefinitionQuery |
jobConfiguration(String jobConfiguration)
Only select job definitions which contain the configuration.
|
JobDefinitionQuery |
jobDefinitionId(String jobDefinitionId)
Only select job definitions with the given id
|
JobDefinitionQuery |
jobType(String jobType)
Only select job definitions which have the given job type.
|
JobDefinitionQuery |
orderByActivityId()
Order by activty id (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByJobConfiguration()
Order by job configuration (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByJobDefinitionId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByJobType()
Order by job type (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByProcessDefinitionId()
Order by process defintion id (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
JobDefinitionQuery |
processDefinitionId(String processDefinitionId)
Only select job definitions which exist for the given process definition id.
|
JobDefinitionQuery |
processDefinitionKey(String processDefinitionKey)
Only select job definitions which exist for the given process definition key.
|
JobDefinitionQuery |
suspended()
Only selects job definitions which are suspended
|
JobDefinitionQuery |
tenantIdIn(String... tenantIds)
Only select job definitions that belong to one of the given tenant ids.
|
JobDefinitionQuery |
withoutTenantId()
Only select job definitions which have no tenant id.
|
JobDefinitionQuery |
withOverridingJobPriority()
Only selects job definitions which have a job priority defined.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
JobDefinitionQuery jobDefinitionId(String jobDefinitionId)
JobDefinitionQuery activityIdIn(String... activityIds)
JobDefinitionQuery processDefinitionId(String processDefinitionId)
JobDefinitionQuery processDefinitionKey(String processDefinitionKey)
JobDefinitionQuery jobType(String jobType)
JobDefinitionQuery jobConfiguration(String jobConfiguration)
JobDefinitionQuery active()
JobDefinitionQuery suspended()
JobDefinitionQuery withOverridingJobPriority()
JobDefinitionQuery tenantIdIn(String... tenantIds)
JobDefinitionQuery withoutTenantId()
JobDefinitionQuery includeJobDefinitionsWithoutTenantId()
tenantIdIn(String...)
.JobDefinitionQuery orderByJobDefinitionId()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByActivityId()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByProcessDefinitionKey()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByJobType()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByJobConfiguration()
Query.asc()
or Query.desc()
).JobDefinitionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of job definitions without tenant id is database-specific.Copyright © 2022. All rights reserved.