Interface TimerJobQuery

All Superinterfaces:
Query<TimerJobQuery,Job>
All Known Implementing Classes:
TimerJobQueryImpl

@Internal public interface TimerJobQuery extends Query<TimerJobQuery,Job>
Allows programmatic querying of Jobs.
  • Method Details

    • jobId

      TimerJobQuery jobId(String jobId)
      Only select jobs with the given id
    • processInstanceId

      TimerJobQuery processInstanceId(String processInstanceId)
      Only select jobs which exist for the given process instance.
    • executionId

      TimerJobQuery executionId(String executionId)
      Only select jobs which exist for the given execution
    • processDefinitionId

      TimerJobQuery processDefinitionId(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 with messages()
    • messages

      TimerJobQuery messages()
      Only select jobs that are messages. Cannot be used together with timers()
    • duedateLowerThan

      TimerJobQuery duedateLowerThan(Date date)
      Only select jobs where the duedate is lower than the given date.
    • duedateHigherThan

      TimerJobQuery duedateHigherThan(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(String exceptionMessage)
      Only select jobs that failed due to an exception with the given message.
    • jobTenantId

      TimerJobQuery jobTenantId(String tenantId)
      Only select jobs that have the given tenant id.
    • jobTenantIdLike

      TimerJobQuery jobTenantIdLike(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 by Query.asc() or Query.desc()).
    • orderByJobDuedate

      TimerJobQuery orderByJobDuedate()
      Order by duedate (needs to be followed by Query.asc() or Query.desc()).
    • orderByJobRetries

      TimerJobQuery orderByJobRetries()
      Order by retries (needs to be followed by Query.asc() or Query.desc()).
    • orderByProcessInstanceId

      TimerJobQuery orderByProcessInstanceId()
      Order by process instance id (needs to be followed by Query.asc() or Query.desc()).
    • orderByExecutionId

      TimerJobQuery orderByExecutionId()
      Order by execution id (needs to be followed by Query.asc() or Query.desc()).
    • orderByTenantId

      TimerJobQuery orderByTenantId()
      Order by tenant id (needs to be followed by Query.asc() or Query.desc()).