Interface TimerJobQuery

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

    @Deprecated
    @Internal
    public interface TimerJobQuery
    extends Query<TimerJobQuery,​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

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

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

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

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

        TimerJobQuery executable()
        Deprecated.
        Only select jobs which are executable, ie. duedate is null or duedate is in the past
      • timers

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

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

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

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

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

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

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

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

        TimerJobQuery jobWithoutTenantId()
        Deprecated.
        Only select jobs that do not have a tenant id.