|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobQuery
Allows programmatic querying of Jobs.
| Method Summary | |
|---|---|
JobQuery |
duedateHigherThen(Date date)
Only select jobs where the duedate is higher then the given date. |
JobQuery |
duedateHigherThenOrEquals(Date date)
Only select jobs where the duedate is higher then or equals the given date. |
JobQuery |
duedateLowerThen(Date date)
Only select jobs where the duedate is lower then the given date. |
JobQuery |
duedateLowerThenOrEquals(Date date)
Only select jobs where the duedate is lower then or equals the given date. |
JobQuery |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message. |
JobQuery |
executable()
Only select jobs which are executable, ie. |
JobQuery |
executionId(String executionId)
Only select jobs which exist for the given execution |
JobQuery |
jobId(String jobId)
Only select jobs with the given id |
JobQuery |
messages()
Only select jobs that are messages. |
JobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by Query.asc() or Query.desc()). |
JobQuery |
orderByJobDuedate()
Order by duedate (needs to be followed by Query.asc() or Query.desc()). |
JobQuery |
orderByJobId()
Order by job id (needs to be followed by Query.asc() or Query.desc()). |
JobQuery |
orderByJobRetries()
Order by retries (needs to be followed by Query.asc() or Query.desc()). |
JobQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by Query.asc() or Query.desc()). |
JobQuery |
processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance. |
JobQuery |
timers()
Only select jobs that are timers. |
JobQuery |
withException()
Only select jobs that failed due to an exception. |
JobQuery |
withRetriesLeft()
Only select jobs which have retries left |
| Methods inherited from interface org.activiti.engine.query.Query |
|---|
asc, count, desc, list, listPage, singleResult |
| Method Detail |
|---|
JobQuery jobId(String jobId)
JobQuery processInstanceId(String processInstanceId)
JobQuery executionId(String executionId)
JobQuery withRetriesLeft()
JobQuery executable()
JobQuery timers()
messages()
JobQuery messages()
timers()
JobQuery duedateLowerThen(Date date)
JobQuery duedateLowerThenOrEquals(Date date)
JobQuery duedateHigherThen(Date date)
JobQuery duedateHigherThenOrEquals(Date date)
JobQuery withException()
JobQuery exceptionMessage(String exceptionMessage)
JobQuery orderByJobId()
Query.asc() or Query.desc()).
JobQuery orderByJobDuedate()
Query.asc() or Query.desc()).
JobQuery orderByJobRetries()
Query.asc() or Query.desc()).
JobQuery orderByProcessInstanceId()
Query.asc() or Query.desc()).
JobQuery orderByExecutionId()
Query.asc() or Query.desc()).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||