Package org.activiti.engine.runtime
Interface TimerJobQuery
-
- All Superinterfaces:
Query<TimerJobQuery,Job>
- All Known Implementing Classes:
TimerJobQueryImpl
@Internal public interface TimerJobQuery extends Query<TimerJobQuery,Job>
Allows programmatic querying ofJobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimerJobQueryduedateHigherThan(java.util.Date date)Only select jobs where the duedate is higher then the given date.TimerJobQueryduedateLowerThan(java.util.Date date)Only select jobs where the duedate is lower than the given date.TimerJobQueryexceptionMessage(java.lang.String exceptionMessage)Only select jobs that failed due to an exception with the given message.TimerJobQueryexecutable()Only select jobs which are executable, ie.TimerJobQueryexecutionId(java.lang.String executionId)Only select jobs which exist for the given executionTimerJobQueryjobId(java.lang.String jobId)Only select jobs with the given idTimerJobQueryjobTenantId(java.lang.String tenantId)Only select jobs that have the given tenant id.TimerJobQueryjobTenantIdLike(java.lang.String tenantIdLike)Only select jobs with a tenant id like the given one.TimerJobQueryjobWithoutTenantId()Only select jobs that do not have a tenant id.TimerJobQuerymessages()Only select jobs that are messages.TimerJobQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryorderByJobDuedate()Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryorderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryorderByJobRetries()Order by retries (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).TimerJobQueryprocessDefinitionId(java.lang.String processDefinitionid)Only select jobs which exist for the given process definition idTimerJobQueryprocessInstanceId(java.lang.String processInstanceId)Only select jobs which exist for the given process instance.TimerJobQuerytimers()Only select jobs that are timers.TimerJobQuerywithException()Only select jobs that failed due to an exception.
-
-
-
Method Detail
-
jobId
TimerJobQuery jobId(java.lang.String jobId)
Only select jobs with the given id
-
processInstanceId
TimerJobQuery processInstanceId(java.lang.String processInstanceId)
Only select jobs which exist for the given process instance.
-
executionId
TimerJobQuery executionId(java.lang.String executionId)
Only select jobs which exist for the given execution
-
processDefinitionId
TimerJobQuery processDefinitionId(java.lang.String processDefinitionid)
Only select jobs which exist for the given process definition id
-
executable
TimerJobQuery executable()
Only select jobs which are executable, ie. duedate is null or duedate is in the past
-
timers
TimerJobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
-
messages
TimerJobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
-
duedateLowerThan
TimerJobQuery duedateLowerThan(java.util.Date date)
Only select jobs where the duedate is lower than the given date.
-
duedateHigherThan
TimerJobQuery duedateHigherThan(java.util.Date date)
Only select jobs where the duedate is higher then the given date.
-
withException
TimerJobQuery withException()
Only select jobs that failed due to an exception.
-
exceptionMessage
TimerJobQuery exceptionMessage(java.lang.String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
-
jobTenantId
TimerJobQuery jobTenantId(java.lang.String tenantId)
Only select jobs that have the given tenant id.
-
jobTenantIdLike
TimerJobQuery jobTenantIdLike(java.lang.String tenantIdLike)
Only select jobs with a tenant id like the given one.
-
jobWithoutTenantId
TimerJobQuery jobWithoutTenantId()
Only select jobs that do not have a tenant id.
-
orderByJobId
TimerJobQuery orderByJobId()
Order by job id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobDuedate
TimerJobQuery orderByJobDuedate()
Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobRetries
TimerJobQuery orderByJobRetries()
Order by retries (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
TimerJobQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
TimerJobQuery orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
TimerJobQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
-
-