Package org.activiti.engine.runtime
Interface JobQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobQueryduedateHigherThan(java.util.Date date)Only select jobs where the duedate is higher then the given date.JobQueryduedateLowerThan(java.util.Date date)Only select jobs where the duedate is lower than the given date.JobQueryexceptionMessage(java.lang.String exceptionMessage)Only select jobs that failed due to an exception with the given message.JobQueryexecutionId(java.lang.String executionId)Only select jobs which exist for the given executionJobQueryjobId(java.lang.String jobId)Only select jobs with the given idJobQueryjobTenantId(java.lang.String tenantId)Only select jobs that have the given tenant id.JobQueryjobTenantIdLike(java.lang.String tenantIdLike)Only select jobs with a tenant id like the given one.JobQueryjobWithoutTenantId()Only select jobs that do not have a tenant id.JobQuerylocked()Only return jobs that are locked (i.e.JobQuerymessages()Only select jobs that are messages.JobQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryorderByJobDuedate()Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).JobQueryorderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryorderByJobRetries()Order by retries (needs to be followed byQuery.asc()orQuery.desc()).JobQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).JobQueryprocessDefinitionId(java.lang.String processDefinitionid)Only select jobs which exist for the given process definition idJobQueryprocessInstanceId(java.lang.String processInstanceId)Only select jobs which exist for the given process instance.JobQuerytimers()Only select jobs that are timers.JobQueryunlocked()Only return jobs that are not locked.JobQuerywithException()Only select jobs that failed due to an exception.
-
-
-
Method Detail
-
jobId
JobQuery jobId(java.lang.String jobId)
Only select jobs with the given id
-
processInstanceId
JobQuery processInstanceId(java.lang.String processInstanceId)
Only select jobs which exist for the given process instance.
-
executionId
JobQuery executionId(java.lang.String executionId)
Only select jobs which exist for the given execution
-
processDefinitionId
JobQuery processDefinitionId(java.lang.String processDefinitionid)
Only select jobs which exist for the given process definition id
-
timers
JobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
-
messages
JobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
-
duedateLowerThan
JobQuery duedateLowerThan(java.util.Date date)
Only select jobs where the duedate is lower than the given date.
-
duedateHigherThan
JobQuery duedateHigherThan(java.util.Date date)
Only select jobs where the duedate is higher then the given date.
-
withException
JobQuery withException()
Only select jobs that failed due to an exception.
-
exceptionMessage
JobQuery exceptionMessage(java.lang.String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
-
jobTenantId
JobQuery jobTenantId(java.lang.String tenantId)
Only select jobs that have the given tenant id.
-
jobTenantIdLike
JobQuery jobTenantIdLike(java.lang.String tenantIdLike)
Only select jobs with a tenant id like the given one.
-
jobWithoutTenantId
JobQuery jobWithoutTenantId()
Only select jobs that do not have a tenant id.
-
locked
JobQuery locked()
Only return jobs that are locked (i.e. they are acquired by an executor).
-
unlocked
JobQuery unlocked()
Only return jobs that are not locked.
-
orderByJobId
JobQuery orderByJobId()
Order by job id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobDuedate
JobQuery orderByJobDuedate()
Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobRetries
JobQuery orderByJobRetries()
Order by retries (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
JobQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
JobQuery orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
JobQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
-
-