public interface JobInfoEntityManager<T extends JobInfoEntity> extends EntityManager<T>
| Modifier and Type | Method and Description |
|---|---|
List<T> |
findExpiredJobs(Page page)
|
List<T> |
findJobsByExecutionId(String executionId)
Returns all
JobEntity instances related to on ExecutionEntity. |
List<T> |
findJobsByProcessInstanceId(String processInstanceId)
Returns all
JobEntity instances related to one process instance ExecutionEntity. |
List<T> |
findJobsToExecute(Page page)
Returns
JobEntity that are eligible to be executed. |
void |
resetExpiredJob(String jobId)
Resets an expired job.
|
void |
updateJobTenantIdForDeployment(String deploymentId,
String newTenantId)
Changes the tenantId for all jobs related to a given DeploymentEntity.
|
List<T> findJobsToExecute(Page page)
JobEntity that are eligible to be executed.
For example used by the default AcquireJobsCmd command used by the default AcquireTimerJobsRunnable implementation to get async jobs that can be executed.List<T> findJobsByExecutionId(String executionId)
JobEntity instances related to on ExecutionEntity.List<T> findJobsByProcessInstanceId(String processInstanceId)
JobEntity instances related to one process instance ExecutionEntity.void resetExpiredJob(String jobId)
Copyright © 2018 Flowable. All rights reserved.