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.impl.management org.camunda.bpm.engine.management Classes related to theManagementService
.org.camunda.bpm.engine.rest.dto.runtime org.camunda.bpm.engine.runtime Classes related to theRuntimeService
.org.camunda.bpm.engine.test.assertions.bpmn 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(List<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 with parameters of type JobQuery Modifier and Type Method Description Batch
ManagementServiceImpl. setJobRetriesAsync(List<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(List<String> ids, JobQuery jobQuery, int retries, Date dueDate, boolean isDueDateSet)
-
Uses of JobQuery in org.camunda.bpm.engine.impl.management
Fields in org.camunda.bpm.engine.impl.management declared as JobQuery Modifier and Type Field Description protected JobQuery
SetJobRetriesByJobsAsyncBuilderImpl. jobQuery
Methods in org.camunda.bpm.engine.impl.management with parameters of type JobQuery Modifier and Type Method Description SetJobRetriesByJobsAsyncBuilder
SetJobRetriesByJobsAsyncBuilderImpl. jobQuery(JobQuery query)
-
Uses of JobQuery in org.camunda.bpm.engine.management
Methods in org.camunda.bpm.engine.management with parameters of type JobQuery Modifier and Type Method Description SetJobRetriesByJobsAsyncBuilder
SetJobRetriesByJobsAsyncBuilder. jobQuery(JobQuery query)
Specifies aJobQuery
to reference jobs that will be updated. -
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, String sortBy, Map<String,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(String activityId)
Only select jobs which are defined on an activity with the given id.JobQuery
JobQuery. createdAfter(Date date)
Only select jobs created after the given date.JobQuery
JobQuery. createdBefore(Date date)
Only select jobs created before the given date.JobQuery
JobQuery. duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date.JobQuery
JobQuery. duedateHigherThen(Date date)
Deprecated.JobQuery
JobQuery. duedateHigherThenOrEquals(Date date)
Deprecated.JobQuery
JobQuery. duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date.JobQuery
JobQuery. duedateLowerThen(Date date)
Deprecated.JobQuery
JobQuery. duedateLowerThenOrEquals(Date date)
Deprecated.JobQuery
JobQuery. exceptionMessage(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(String executionId)
Only select jobs which exist for the given executionJobQuery
JobQuery. failedActivityId(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(String jobDefinitionId)
Only select jobs which exist for the given job definition id.JobQuery
JobQuery. jobId(String jobId)
Only select jobs with the given idJobQuery
JobQuery. jobIds(Set<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(String processDefinitionId)
Only select jobs which exist for the given process definition id.JobQuery
JobQuery. processDefinitionKey(String processDefinitionKey)
Only select jobs which exist for the given process definition key.JobQuery
JobQuery. processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance.JobQuery
JobQuery. processInstanceIds(Set<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(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.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return JobQuery Modifier and Type Method Description protected JobQuery
AbstractProcessAssert. jobQuery()
static JobQuery
BpmnAwareTests. jobQuery()
Helper method to easily create a new JobQueryprotected JobQuery
JobAssert. jobQuery()
protected JobQuery
ProcessInstanceAssert. jobQuery()
Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type JobQuery Modifier and Type Method Description static Job
BpmnAwareTests. job(JobQuery jobQuery)
Helper method to easily access the only job compliant to a given jobQuery and currently available in the context of the last asserted process instance.static Job
BpmnAwareTests. job(JobQuery jobQuery, ProcessInstance processInstance)
Helper method to easily access the only job compliant to a given jobQuery and currently available in the context of the given process instance.JobAssert
ProcessInstanceAssert. job(JobQuery query)
Enter into a chained job assert inspecting only jobs currently available in the context of the process instance under test of this ProcessInstanceAssert. -
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()
-