Interface JobQuery

  • All Superinterfaces:
    Query<JobQuery,​Job>
    All Known Implementing Classes:
    JobQueryImpl

    @Deprecated
    @Internal
    public interface JobQuery
    extends Query<JobQuery,​Job>
    Deprecated.
    we recommend against using the Job Executor, this should be handled by an integration instead of an internal component
    Allows programmatic querying of Jobs.
    • Method Detail

      • jobId

        JobQuery jobId​(java.lang.String jobId)
        Deprecated.
        Only select jobs with the given id
      • processInstanceId

        JobQuery processInstanceId​(java.lang.String processInstanceId)
        Deprecated.
        Only select jobs which exist for the given process instance.
      • executionId

        JobQuery executionId​(java.lang.String executionId)
        Deprecated.
        Only select jobs which exist for the given execution
      • processDefinitionId

        JobQuery processDefinitionId​(java.lang.String processDefinitionid)
        Deprecated.
        Only select jobs which exist for the given process definition id
      • timers

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

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

        JobQuery duedateLowerThan​(java.util.Date date)
        Deprecated.
        Only select jobs where the duedate is lower than the given date.
      • duedateHigherThan

        JobQuery duedateHigherThan​(java.util.Date date)
        Deprecated.
        Only select jobs where the duedate is higher then the given date.
      • withException

        JobQuery withException()
        Deprecated.
        Only select jobs that failed due to an exception.
      • exceptionMessage

        JobQuery exceptionMessage​(java.lang.String exceptionMessage)
        Deprecated.
        Only select jobs that failed due to an exception with the given message.
      • jobTenantId

        JobQuery jobTenantId​(java.lang.String tenantId)
        Deprecated.
        Only select jobs that have the given tenant id.
      • jobTenantIdLike

        JobQuery jobTenantIdLike​(java.lang.String tenantIdLike)
        Deprecated.
        Only select jobs with a tenant id like the given one.
      • jobWithoutTenantId

        JobQuery jobWithoutTenantId()
        Deprecated.
        Only select jobs that do not have a tenant id.
      • locked

        JobQuery locked()
        Deprecated.
        Only return jobs that are locked (i.e. they are acquired by an executor).
      • unlocked

        JobQuery unlocked()
        Deprecated.
        Only return jobs that are not locked.
      • orderByProcessInstanceId

        JobQuery orderByProcessInstanceId()
        Deprecated.
        Order by process instance id (needs to be followed by Query.asc() or Query.desc()).