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 aProcessEnginecan be obtained.
Through the services obtained from such aProcessEngine, BPM and workflow operation can be executed:
RepositoryService: ManagesDeployments
RuntimeService: For starting and searchingProcessInstances
TaskService: Exposes operations to manage human (standalone)Tasks, such as claiming, completing and assigning tasks
IdentityService: Used for managingUsers,Groups 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 JobQueryManagementService. 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 BatchManagementService. setJobRetriesAsync(java.util.List<java.lang.String> jobIds, JobQuery jobQuery, int retries)Sets the number of retries that jobs have left asynchronously.BatchManagementService. 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 classJobQueryImplMethods in org.camunda.bpm.engine.impl that return JobQuery Modifier and Type Method Description JobQueryJobQueryImpl. active()JobQueryJobQueryImpl. activityId(java.lang.String activityId)JobQueryJobQueryImpl. createdAfter(java.util.Date date)JobQueryJobQueryImpl. createdBefore(java.util.Date date)JobQueryManagementServiceImpl. createJobQuery()JobQueryJobQueryImpl. duedateHigherThan(java.util.Date date)JobQueryJobQueryImpl. duedateHigherThen(java.util.Date date)JobQueryJobQueryImpl. duedateHigherThenOrEquals(java.util.Date date)JobQueryJobQueryImpl. duedateLowerThan(java.util.Date date)JobQueryJobQueryImpl. duedateLowerThen(java.util.Date date)JobQueryJobQueryImpl. duedateLowerThenOrEquals(java.util.Date date)JobQueryJobQueryImpl. exceptionMessage(java.lang.String exceptionMessage)JobQueryJobQueryImpl. executable()JobQueryJobQueryImpl. failedActivityId(java.lang.String activityId)JobQueryJobQueryImpl. includeJobsWithoutTenantId()JobQueryJobQueryImpl. jobDefinitionId(java.lang.String jobDefinitionId)JobQueryJobQueryImpl. jobId(java.lang.String jobId)JobQueryJobQueryImpl. jobIds(java.util.Set<java.lang.String> ids)JobQueryJobQueryImpl. messages()JobQueryJobQueryImpl. noRetriesLeft()JobQueryJobQueryImpl. orderByExecutionId()JobQueryJobQueryImpl. orderByJobDuedate()JobQueryJobQueryImpl. orderByJobId()JobQueryJobQueryImpl. orderByJobPriority()JobQueryJobQueryImpl. orderByJobRetries()JobQueryJobQueryImpl. orderByProcessDefinitionId()JobQueryJobQueryImpl. orderByProcessDefinitionKey()JobQueryJobQueryImpl. orderByProcessInstanceId()JobQueryJobQueryImpl. orderByTenantId()JobQueryJobQueryImpl. priorityHigherThanOrEquals(long priority)JobQueryJobQueryImpl. priorityLowerThanOrEquals(long priority)JobQueryJobQueryImpl. processDefinitionId(java.lang.String processDefinitionId)JobQueryJobQueryImpl. processDefinitionKey(java.lang.String processDefinitionKey)JobQueryJobQueryImpl. processInstanceIds(java.util.Set<java.lang.String> processInstanceIds)JobQueryJobQueryImpl. suspended()JobQueryJobQueryImpl. tenantIdIn(java.lang.String... tenantIds)JobQueryJobQueryImpl. timers()JobQueryJobQueryImpl. withException()JobQueryJobQueryImpl. withoutTenantId()JobQueryJobQueryImpl. withRetriesLeft()Methods in org.camunda.bpm.engine.impl with parameters of type JobQuery Modifier and Type Method Description BatchManagementServiceImpl. setJobRetriesAsync(java.util.List<java.lang.String> jobIds, JobQuery jobQuery, int retries)BatchManagementServiceImpl. 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 JobQuerySetJobsRetriesBatchCmd. jobQueryConstructors 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, java.util.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 JobQuerySetJobRetriesByJobsAsyncBuilderImpl. jobQueryMethods in org.camunda.bpm.engine.impl.management with parameters of type JobQuery Modifier and Type Method Description SetJobRetriesByJobsAsyncBuilderSetJobRetriesByJobsAsyncBuilderImpl. 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 SetJobRetriesByJobsAsyncBuilderSetJobRetriesByJobsAsyncBuilder. jobQuery(JobQuery query)Specifies aJobQueryto 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 JobQueryJobQueryDto. createNewQuery(ProcessEngine engine)Methods in org.camunda.bpm.engine.rest.dto.runtime with parameters of type JobQuery Modifier and Type Method Description protected voidJobQueryDto. applyFilters(JobQuery query)protected voidJobQueryDto. 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 JobQueryJobQuery. active()Only select jobs that are not suspended.JobQueryJobQuery. activityId(java.lang.String activityId)Only select jobs which are defined on an activity with the given id.JobQueryJobQuery. createdAfter(java.util.Date date)Only select jobs created after the given date.JobQueryJobQuery. createdBefore(java.util.Date date)Only select jobs created before the given date.JobQueryJobQuery. duedateHigherThan(java.util.Date date)Only select jobs where the duedate is higher then the given date.JobQueryJobQuery. duedateHigherThen(java.util.Date date)Deprecated.JobQueryJobQuery. duedateHigherThenOrEquals(java.util.Date date)Deprecated.JobQueryJobQuery. duedateLowerThan(java.util.Date date)Only select jobs where the duedate is lower than the given date.JobQueryJobQuery. duedateLowerThen(java.util.Date date)Deprecated.JobQueryJobQuery. duedateLowerThenOrEquals(java.util.Date date)Deprecated.JobQueryJobQuery. exceptionMessage(java.lang.String exceptionMessage)Only select jobs that failed due to an exception with the given message.JobQueryJobQuery. executable()Only select jobs which are executable, ie.JobQueryJobQuery. executionId(java.lang.String executionId)Only select jobs which exist for the given executionJobQueryJobQuery. failedActivityId(java.lang.String activityId)Only select jobs that failed due to an exception at an activity with the given id.JobQueryJobQuery. includeJobsWithoutTenantId()Select jobs which have no tenant id.JobQueryJobQuery. jobDefinitionId(java.lang.String jobDefinitionId)Only select jobs which exist for the given job definition id.JobQueryJobQuery. jobId(java.lang.String jobId)Only select jobs with the given idJobQueryJobQuery. jobIds(java.util.Set<java.lang.String> ids)Only select jobs whose id is in the given set of idsJobQueryJobQuery. messages()Only select jobs that are messages.JobQueryJobQuery. noRetriesLeft()Only select jobs which have no retries leftJobQueryJobQuery. orderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByJobDuedate()Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByJobPriority()Order by priority for execution (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByJobRetries()Order by retries (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryJobQuery. priorityHigherThanOrEquals(long priority)Only select jobs with a priority that is higher than or equal to the given priority.JobQueryJobQuery. priorityLowerThanOrEquals(long priority)Only select jobs with a priority that is lower than or equal to the given priority.JobQueryJobQuery. processDefinitionId(java.lang.String processDefinitionId)Only select jobs which exist for the given process definition id.JobQueryJobQuery. processDefinitionKey(java.lang.String processDefinitionKey)Only select jobs which exist for the given process definition key.JobQueryJobQuery. processInstanceId(java.lang.String processInstanceId)Only select jobs which exist for the given process instance.JobQueryJobQuery. processInstanceIds(java.util.Set<java.lang.String> processInstanceIds)Only select jobs which exist for any of the given process instance idsJobQueryJobQuery. suspended()Only select jobs that are suspended.JobQueryJobQuery. tenantIdIn(java.lang.String... tenantIds)Only select jobs that belong to one of the given tenant ids.JobQueryJobQuery. timers()Only select jobs that are timers.JobQueryJobQuery. withException()Only select jobs that failed due to an exception.JobQueryJobQuery. withoutTenantId()Only select jobs which have no tenant id.JobQueryJobQuery. 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 JobQueryAbstractProcessAssert. jobQuery()static JobQueryBpmnAwareTests. jobQuery()Helper method to easily create a new JobQueryprotected JobQueryJobAssert. jobQuery()protected JobQueryProcessInstanceAssert. jobQuery()Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type JobQuery Modifier and Type Method Description static JobBpmnAwareTests. 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 JobBpmnAwareTests. 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.JobAssertProcessInstanceAssert. 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 JobQueryUpgradeTestRule. jobQuery()
-