Package org.activiti.engine.runtime
Interface DeadLetterJobQuery
-
- All Superinterfaces:
Query<DeadLetterJobQuery,Job>
- All Known Implementing Classes:
DeadLetterJobQueryImpl
@Internal public interface DeadLetterJobQuery extends Query<DeadLetterJobQuery,Job>
Allows programmatic querying ofJobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeadLetterJobQueryduedateHigherThan(java.util.Date date)Only select jobs where the duedate is higher then the given date.DeadLetterJobQueryduedateLowerThan(java.util.Date date)Only select jobs where the duedate is lower than the given date.DeadLetterJobQueryexceptionMessage(java.lang.String exceptionMessage)Only select jobs that failed due to an exception with the given message.DeadLetterJobQueryexecutable()Only select jobs which are executable, ie.DeadLetterJobQueryexecutionId(java.lang.String executionId)Only select jobs which exist for the given executionDeadLetterJobQueryjobId(java.lang.String jobId)Only select jobs with the given idDeadLetterJobQueryjobTenantId(java.lang.String tenantId)Only select jobs that have the given tenant id.DeadLetterJobQueryjobTenantIdLike(java.lang.String tenantIdLike)Only select jobs with a tenant id like the given one.DeadLetterJobQueryjobWithoutTenantId()Only select jobs that do not have a tenant id.DeadLetterJobQuerymessages()Only select jobs that are messages.DeadLetterJobQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryorderByJobDuedate()Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryorderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryorderByJobRetries()Order by retries (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DeadLetterJobQueryprocessDefinitionId(java.lang.String processDefinitionid)Only select jobs which exist for the given process definition idDeadLetterJobQueryprocessInstanceId(java.lang.String processInstanceId)Only select jobs which exist for the given process instance.DeadLetterJobQuerytimers()Only select jobs that are timers.DeadLetterJobQuerywithException()Only select jobs that failed due to an exception.
-
-
-
Method Detail
-
jobId
DeadLetterJobQuery jobId(java.lang.String jobId)
Only select jobs with the given id
-
processInstanceId
DeadLetterJobQuery processInstanceId(java.lang.String processInstanceId)
Only select jobs which exist for the given process instance.
-
executionId
DeadLetterJobQuery executionId(java.lang.String executionId)
Only select jobs which exist for the given execution
-
processDefinitionId
DeadLetterJobQuery processDefinitionId(java.lang.String processDefinitionid)
Only select jobs which exist for the given process definition id
-
executable
DeadLetterJobQuery executable()
Only select jobs which are executable, ie. duedate is null or duedate is in the past
-
timers
DeadLetterJobQuery timers()
Only select jobs that are timers. Cannot be used together withmessages()
-
messages
DeadLetterJobQuery messages()
Only select jobs that are messages. Cannot be used together withtimers()
-
duedateLowerThan
DeadLetterJobQuery duedateLowerThan(java.util.Date date)
Only select jobs where the duedate is lower than the given date.
-
duedateHigherThan
DeadLetterJobQuery duedateHigherThan(java.util.Date date)
Only select jobs where the duedate is higher then the given date.
-
withException
DeadLetterJobQuery withException()
Only select jobs that failed due to an exception.
-
exceptionMessage
DeadLetterJobQuery exceptionMessage(java.lang.String exceptionMessage)
Only select jobs that failed due to an exception with the given message.
-
jobTenantId
DeadLetterJobQuery jobTenantId(java.lang.String tenantId)
Only select jobs that have the given tenant id.
-
jobTenantIdLike
DeadLetterJobQuery jobTenantIdLike(java.lang.String tenantIdLike)
Only select jobs with a tenant id like the given one.
-
jobWithoutTenantId
DeadLetterJobQuery jobWithoutTenantId()
Only select jobs that do not have a tenant id.
-
orderByJobId
DeadLetterJobQuery orderByJobId()
Order by job id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobDuedate
DeadLetterJobQuery orderByJobDuedate()
Order by duedate (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByJobRetries
DeadLetterJobQuery orderByJobRetries()
Order by retries (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
DeadLetterJobQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
DeadLetterJobQuery orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
DeadLetterJobQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
-
-