Package org.activiti.engine.runtime
Interface SuspendedJobQuery
-
- All Superinterfaces:
Query<SuspendedJobQuery,Job>
- All Known Implementing Classes:
SuspendedJobQueryImpl
@Internal public interface SuspendedJobQuery extends Query<SuspendedJobQuery,Job>
Allows programmatic querying ofJobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuspendedJobQueryduedateHigherThan(java.util.Date date)Only select jobs where the duedate is higher then the given date.SuspendedJobQueryduedateLowerThan(java.util.Date date)Only select jobs where the duedate is lower than the given date.SuspendedJobQueryexceptionMessage(java.lang.String exceptionMessage)Only select jobs that failed due to an exception with the given message.SuspendedJobQueryexecutable()Only select jobs which are executable, ie.SuspendedJobQueryexecutionId(java.lang.String executionId)Only select jobs which exist for the given executionSuspendedJobQueryjobId(java.lang.String jobId)Only select jobs with the given idSuspendedJobQueryjobTenantId(java.lang.String tenantId)Only select jobs that have the given tenant id.SuspendedJobQueryjobTenantIdLike(java.lang.String tenantIdLike)Only select jobs with a tenant id like the given one.SuspendedJobQueryjobWithoutTenantId()Only select jobs that do not have a tenant id.SuspendedJobQuerymessages()Only select jobs that are messages.SuspendedJobQuerynoRetriesLeft()Only select jobs which have no retries leftSuspendedJobQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryorderByJobDuedate()Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryorderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryorderByJobRetries()Order by retries (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).SuspendedJobQueryprocessDefinitionId(java.lang.String processDefinitionid)Only select jobs which exist for the given process definition idSuspendedJobQueryprocessInstanceId(java.lang.String processInstanceId)Only select jobs which exist for the given process instance.SuspendedJobQuerytimers()Only select jobs that are timers.SuspendedJobQuerywithException()Only select jobs that failed due to an exception.SuspendedJobQuerywithRetriesLeft()Only select jobs which have retries left
-
-
-
Method Detail
-
jobId
SuspendedJobQuery jobId(java.lang.String jobId)
Only select jobs with the given id
-
processInstanceId
SuspendedJobQuery processInstanceId(java.lang.String processInstanceId)
Only select jobs which exist for the given process instance.
-
executionId
SuspendedJobQuery executionId(java.lang.String executionId)
Only select jobs which exist for the given execution
-
processDefinitionId
SuspendedJobQuery processDefinitionId(java.lang.String processDefinitionid)
Only select jobs which exist for the given process definition id
-
withRetriesLeft
SuspendedJobQuery withRetriesLeft()
Only select jobs which have retries left
-
noRetriesLeft
SuspendedJobQuery noRetriesLeft()
Only select jobs which have no retries left
-
executable
SuspendedJobQuery executable()
Only select jobs which are executable, ie. retries > 0 and duedate is null or duedate is in the past
-
timers
SuspendedJobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
-
messages
SuspendedJobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
-
duedateLowerThan
SuspendedJobQuery duedateLowerThan(java.util.Date date)
Only select jobs where the duedate is lower than the given date.
-
duedateHigherThan
SuspendedJobQuery duedateHigherThan(java.util.Date date)
Only select jobs where the duedate is higher then the given date.
-
withException
SuspendedJobQuery withException()
Only select jobs that failed due to an exception.
-
exceptionMessage
SuspendedJobQuery exceptionMessage(java.lang.String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
-
jobTenantId
SuspendedJobQuery jobTenantId(java.lang.String tenantId)
Only select jobs that have the given tenant id.
-
jobTenantIdLike
SuspendedJobQuery jobTenantIdLike(java.lang.String tenantIdLike)
Only select jobs with a tenant id like the given one.
-
jobWithoutTenantId
SuspendedJobQuery jobWithoutTenantId()
Only select jobs that do not have a tenant id.
-
orderByJobId
SuspendedJobQuery orderByJobId()
Order by job id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobDuedate
SuspendedJobQuery orderByJobDuedate()
Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobRetries
SuspendedJobQuery orderByJobRetries()
Order by retries (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
SuspendedJobQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
SuspendedJobQuery orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
SuspendedJobQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
-
-