Uses of Interface
org.camunda.bpm.engine.runtime.JobQuery
-
Packages that use JobQuery Package Description org.camunda.bpm.engine Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of aProcessEngineConfiguration
(typically based on a configuration file), from which aProcessEngine
can be obtained.
Through the services obtained from such aProcessEngine
, BPM and workflow operation can be executed:
RepositoryService
: ManagesDeployment
s
RuntimeService
: For starting and searchingProcessInstance
s
TaskService
: Exposes operations to manage human (standalone)Task
s, such as claiming, completing and assigning tasks
IdentityService
: Used for managingUser
s,Group
s and the relations between them
ManagementService
: Exposes engine admin and maintenance operations, which have no relation to the runtime execution of business processes
HistoryService
: Exposes information about ongoing and past process instances.
FormService
: Access to form data and rendered forms for starting new process instances and completing tasks.org.camunda.bpm.engine.impl API implementation classes, which shouldn't directly be used by end-users.org.camunda.bpm.engine.impl.cmd org.camunda.bpm.engine.rest.dto.runtime org.camunda.bpm.engine.runtime Classes related to theRuntimeService
.org.camunda.bpm.qa.upgrade -
-
Uses of JobQuery in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return JobQuery Modifier and Type Method Description JobQuery
ManagementService. createJobQuery()
Returns a new JobQuery implementation, that can be used to dynamically query the jobs.Methods in org.camunda.bpm.engine with parameters of type JobQuery Modifier and Type Method Description Batch
ManagementService. setJobRetriesAsync(java.util.List<java.lang.String> jobIds, JobQuery jobQuery, int retries)
Sets the number of retries that jobs have left asynchronously.Batch
ManagementService. setJobRetriesAsync(JobQuery jobQuery, int retries)
Sets the number of retries that jobs have left asynchronously. -
Uses of JobQuery in org.camunda.bpm.engine.impl
Classes in org.camunda.bpm.engine.impl that implement JobQuery Modifier and Type Class Description class
JobQueryImpl
Methods in org.camunda.bpm.engine.impl that return JobQuery Modifier and Type Method Description JobQuery
JobQueryImpl. active()
JobQuery
JobQueryImpl. activityId(java.lang.String activityId)
JobQuery
JobQueryImpl. createdAfter(java.util.Date date)
JobQuery
JobQueryImpl. createdBefore(java.util.Date date)
JobQuery
ManagementServiceImpl. createJobQuery()
JobQuery
JobQueryImpl. duedateHigherThan(java.util.Date date)
JobQuery
JobQueryImpl. duedateHigherThen(java.util.Date date)
JobQuery
JobQueryImpl. duedateHigherThenOrEquals(java.util.Date date)
JobQuery
JobQueryImpl. duedateLowerThan(java.util.Date date)
JobQuery
JobQueryImpl. duedateLowerThen(java.util.Date date)
JobQuery
JobQueryImpl. duedateLowerThenOrEquals(java.util.Date date)
JobQuery
JobQueryImpl. exceptionMessage(java.lang.String exceptionMessage)
JobQuery
JobQueryImpl. executable()
JobQuery
JobQueryImpl. failedActivityId(java.lang.String activityId)
JobQuery
JobQueryImpl. includeJobsWithoutTenantId()
JobQuery
JobQueryImpl. jobDefinitionId(java.lang.String jobDefinitionId)
JobQuery
JobQueryImpl. jobId(java.lang.String jobId)
JobQuery
JobQueryImpl. jobIds(java.util.Set<java.lang.String> ids)
JobQuery
JobQueryImpl. messages()
JobQuery
JobQueryImpl. noRetriesLeft()
JobQuery
JobQueryImpl. orderByExecutionId()
JobQuery
JobQueryImpl. orderByJobDuedate()
JobQuery
JobQueryImpl. orderByJobId()
JobQuery
JobQueryImpl. orderByJobPriority()
JobQuery
JobQueryImpl. orderByJobRetries()
JobQuery
JobQueryImpl. orderByProcessDefinitionId()
JobQuery
JobQueryImpl. orderByProcessDefinitionKey()
JobQuery
JobQueryImpl. orderByProcessInstanceId()
JobQuery
JobQueryImpl. orderByTenantId()
JobQuery
JobQueryImpl. priorityHigherThanOrEquals(long priority)
JobQuery
JobQueryImpl. priorityLowerThanOrEquals(long priority)
JobQuery
JobQueryImpl. processDefinitionId(java.lang.String processDefinitionId)
JobQuery
JobQueryImpl. processDefinitionKey(java.lang.String processDefinitionKey)
JobQuery
JobQueryImpl. processInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
JobQuery
JobQueryImpl. suspended()
JobQuery
JobQueryImpl. tenantIdIn(java.lang.String... tenantIds)
JobQuery
JobQueryImpl. timers()
JobQuery
JobQueryImpl. withException()
JobQuery
JobQueryImpl. withoutTenantId()
JobQuery
JobQueryImpl. withRetriesLeft()
Methods in org.camunda.bpm.engine.impl with parameters of type JobQuery Modifier and Type Method Description Batch
ManagementServiceImpl. setJobRetriesAsync(java.util.List<java.lang.String> jobIds, JobQuery jobQuery, int retries)
Batch
ManagementServiceImpl. setJobRetriesAsync(JobQuery jobQuery, int retries)
-
Uses of JobQuery in org.camunda.bpm.engine.impl.cmd
Fields in org.camunda.bpm.engine.impl.cmd declared as JobQuery Modifier and Type Field Description protected JobQuery
SetJobsRetriesBatchCmd. jobQuery
Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type JobQuery Constructor Description SetJobsRetriesBatchCmd(java.util.List<java.lang.String> ids, JobQuery jobQuery, int retries)
-
Uses of JobQuery in org.camunda.bpm.engine.rest.dto.runtime
Methods in org.camunda.bpm.engine.rest.dto.runtime that return JobQuery Modifier and Type Method Description protected JobQuery
JobQueryDto. createNewQuery(ProcessEngine engine)
Methods in org.camunda.bpm.engine.rest.dto.runtime with parameters of type JobQuery Modifier and Type Method Description protected void
JobQueryDto. applyFilters(JobQuery query)
protected void
JobQueryDto. applySortBy(JobQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
-
Uses of JobQuery in org.camunda.bpm.engine.runtime
Methods in org.camunda.bpm.engine.runtime that return JobQuery Modifier and Type Method Description JobQuery
JobQuery. active()
Only select jobs that are not suspended.JobQuery
JobQuery. activityId(java.lang.String activityId)
Only select jobs which are defined on an activity with the given id.JobQuery
JobQuery. createdAfter(java.util.Date date)
Only select jobs created after the given date.JobQuery
JobQuery. createdBefore(java.util.Date date)
Only select jobs created before the given date.JobQuery
JobQuery. duedateHigherThan(java.util.Date date)
Only select jobs where the duedate is higher then the given date.JobQuery
JobQuery. duedateHigherThen(java.util.Date date)
Deprecated.JobQuery
JobQuery. duedateHigherThenOrEquals(java.util.Date date)
Deprecated.JobQuery
JobQuery. duedateLowerThan(java.util.Date date)
Only select jobs where the duedate is lower than the given date.JobQuery
JobQuery. duedateLowerThen(java.util.Date date)
Deprecated.JobQuery
JobQuery. duedateLowerThenOrEquals(java.util.Date date)
Deprecated.JobQuery
JobQuery. exceptionMessage(java.lang.String exceptionMessage)
Only select jobs that failed due to an exception with the given message.JobQuery
JobQuery. executable()
Only select jobs which are executable, ie.JobQuery
JobQuery. executionId(java.lang.String executionId)
Only select jobs which exist for the given executionJobQuery
JobQuery. failedActivityId(java.lang.String activityId)
Only select jobs that failed due to an exception at an activity with the given id.JobQuery
JobQuery. includeJobsWithoutTenantId()
Select jobs which have no tenant id.JobQuery
JobQuery. jobDefinitionId(java.lang.String jobDefinitionId)
Only select jobs which exist for the given job definition id.JobQuery
JobQuery. jobId(java.lang.String jobId)
Only select jobs with the given idJobQuery
JobQuery. jobIds(java.util.Set<java.lang.String> ids)
Only select jobs whose id is in the given set of idsJobQuery
JobQuery. messages()
Only select jobs that are messages.JobQuery
JobQuery. noRetriesLeft()
Only select jobs which have no retries leftJobQuery
JobQuery. orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByJobDuedate()
Order by duedate (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByJobId()
Order by job id (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByJobPriority()
Order by priority for execution (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByJobRetries()
Order by retries (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByProcessDefinitionId()
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByProcessDefinitionKey()
Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).JobQuery
JobQuery. priorityHigherThanOrEquals(long priority)
Only select jobs with a priority that is higher than or equal to the given priority.JobQuery
JobQuery. priorityLowerThanOrEquals(long priority)
Only select jobs with a priority that is lower than or equal to the given priority.JobQuery
JobQuery. processDefinitionId(java.lang.String processDefinitionId)
Only select jobs which exist for the given process definition id.JobQuery
JobQuery. processDefinitionKey(java.lang.String processDefinitionKey)
Only select jobs which exist for the given process definition key.JobQuery
JobQuery. processInstanceId(java.lang.String processInstanceId)
Only select jobs which exist for the given process instance.JobQuery
JobQuery. processInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
Only select jobs which exist for any of the given process instance idsJobQuery
JobQuery. suspended()
Only select jobs that are suspended.JobQuery
JobQuery. tenantIdIn(java.lang.String... tenantIds)
Only select jobs that belong to one of the given tenant ids.JobQuery
JobQuery. timers()
Only select jobs that are timers.JobQuery
JobQuery. withException()
Only select jobs that failed due to an exception.JobQuery
JobQuery. withoutTenantId()
Only select jobs which have no tenant id.JobQuery
JobQuery. withRetriesLeft()
Only select jobs which have retries left -
Uses of JobQuery in org.camunda.bpm.qa.upgrade
Methods in org.camunda.bpm.qa.upgrade that return JobQuery Modifier and Type Method Description JobQuery
UpgradeTestRule. jobQuery()
-