Interface JobQuery

    • Method Detail

      • jobId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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