Uses of Interface
org.camunda.bpm.engine.runtime.JobQuery

Packages that use JobQuery
org.camunda.bpm.engine Public API of the camunda BPM engine.

Typical usage of the API starts by the creation of a ProcessEngineConfiguration (typically based on a configuration file), from which a ProcessEngine can be obtained.

Through the services obtained from such a ProcessEngine, BPM and workflow operation can be executed:

RepositoryService: Manages Deployments
RuntimeService: For starting and searching ProcessInstances
TaskService: Exposes operations to manage human (standalone) Tasks, such as claiming, completing and assigning tasks
IdentityService: Used for managing Users, 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.runtime Classes related to the RuntimeService
 

Uses of JobQuery in org.camunda.bpm.engine
 

Methods in org.camunda.bpm.engine that return JobQuery
 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
 Batch ManagementService.setJobRetriesAsync(JobQuery jobQuery, int retries)
          Sets the number of retries that jobs have left asynchronously.
 Batch ManagementService.setJobRetriesAsync(List<String> jobIds, 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
 class JobQueryImpl
           
 

Methods in org.camunda.bpm.engine.impl that return JobQuery
 JobQuery JobQueryImpl.active()
           
 JobQuery JobQueryImpl.activityId(String activityId)
           
 JobQuery ManagementServiceImpl.createJobQuery()
           
 JobQuery JobQueryImpl.duedateHigherThan(Date date)
           
 JobQuery JobQueryImpl.duedateHigherThen(Date date)
           
 JobQuery JobQueryImpl.duedateHigherThenOrEquals(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThan(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThen(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThenOrEquals(Date date)
           
 JobQuery JobQueryImpl.exceptionMessage(String exceptionMessage)
           
 JobQuery JobQueryImpl.executable()
           
 JobQuery JobQueryImpl.includeJobsWithoutTenantId()
           
 JobQuery JobQueryImpl.jobDefinitionId(String jobDefinitionId)
           
 JobQuery JobQueryImpl.jobId(String jobId)
           
 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(String processDefinitionId)
           
 JobQuery JobQueryImpl.processDefinitionKey(String processDefinitionKey)
           
 JobQuery JobQueryImpl.suspended()
           
 JobQuery JobQueryImpl.tenantIdIn(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
 Batch ManagementServiceImpl.setJobRetriesAsync(JobQuery jobQuery, int retries)
           
 Batch ManagementServiceImpl.setJobRetriesAsync(List<String> jobIds, 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
protected  JobQuery SetJobsRetriesBatchCmd.jobQuery
           
 

Methods in org.camunda.bpm.engine.impl.cmd that return JobQuery
 JobQuery SetJobsRetriesBatchCmd.getJobQuery()
           
 

Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type JobQuery
SetJobsRetriesBatchCmd(List<String> jobIds, JobQuery jobQuery, int retries)
           
 

Uses of JobQuery in org.camunda.bpm.engine.runtime
 

Methods in org.camunda.bpm.engine.runtime that return JobQuery
 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.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 execution
 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 id
 JobQuery JobQuery.messages()
          Only select jobs that are messages.
 JobQuery JobQuery.noRetriesLeft()
          Only select jobs which have no retries left
 JobQuery JobQuery.orderByExecutionId()
          Order by execution id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobDuedate()
          Order by duedate (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobId()
          Order by job id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobPriority()
          Order by priority for execution (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobRetries()
          Order by retries (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByProcessDefinitionId()
          Order by process definition id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByProcessDefinitionKey()
          Order by process definition key (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByProcessInstanceId()
          Order by process instance id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByTenantId()
          Order by tenant id (needs to be followed by Query.asc() or Query.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.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
 



Copyright © 2017 camunda services GmbH. All rights reserved.