Interface JobFilter

All Superinterfaces:
TypedFilterableRequest.SearchRequestFilter
All Known Implementing Classes:
JobFilterImpl

public interface JobFilter extends TypedFilterableRequest.SearchRequestFilter
  • Method Details

    • deadline

      JobFilter deadline(OffsetDateTime deadline)
      Filters jobs by the specified deadline
      Parameters:
      deadline - the deadline of the job
      Returns:
      the updated filter
    • deadline

      Filters jobs by the specified deadline using DateTimeProperty consumer.
      Parameters:
      fn - the deadline DateTimeProperty consumer of the job
      Returns:
      the updated filter
    • deniedReason

      JobFilter deniedReason(String deniedReason)
      Filters jobs by the specified denied reason
      Parameters:
      deniedReason - the reason why the job was denied
      Returns:
      the updated filter
    • deniedReason

      JobFilter deniedReason(Consumer<StringProperty> fn)
      Filters jobs by the specified denied reason using StringProperty consumer.
      Parameters:
      fn - the denied reason StringProperty consumer of the job
      Returns:
      the updated filter
    • endTime

      JobFilter endTime(OffsetDateTime endTime)
      Filters jobs by the specified end time
      Parameters:
      endTime - the end time of the job
      Returns:
      the updated filter
    • endTime

      Filters jobs by the specified end time using DateTimeProperty consumer.
      Parameters:
      fn - the end time DateTimeProperty consumer of the job
      Returns:
      the updated filter
    • errorCode

      JobFilter errorCode(String errorCode)
      Filters jobs by the specified error code
      Parameters:
      errorCode - the error code of the job
      Returns:
      the updated filter
    • errorCode

      Filters jobs by the specified error code using StringProperty consumer.
      Parameters:
      fn - the error code StringProperty consumer of the job
      Returns:
      the updated filter
    • errorMessage

      JobFilter errorMessage(String errorMessage)
      Filters jobs by the specified error message
      Parameters:
      errorMessage - the error message of the job
      Returns:
      the updated filter
    • errorMessage

      JobFilter errorMessage(Consumer<StringProperty> fn)
      Filters jobs by the specified error message using StringProperty consumer.
      Parameters:
      fn - the error message StringProperty consumer of the job
      Returns:
      the updated filter
    • hasFailedWithRetriesLeft

      JobFilter hasFailedWithRetriesLeft(Boolean hasFailedWithRetriesLeft)
      Filters jobs by the has failed with retries left flag.
      Parameters:
      hasFailedWithRetriesLeft - the flag indicating if the job has failed with retries left
      Returns:
      the updated filter
    • isDenied

      JobFilter isDenied(Boolean isDenied)
      Filters jobs by the is denied flag.
      Parameters:
      isDenied - the flag indicating if the job is denied
      Returns:
      the updated filter
    • retries

      JobFilter retries(Integer retries)
      Filters jobs by the specified retries left.
      Parameters:
      retries - the number of retries left for the job
      Returns:
      the updated filter
    • retries

      Filters jobs by the specified retries left using IntegerProperty consumer.
      Parameters:
      fn - the retries left IntegerProperty consumer of the job
      Returns:
      the updated filter
    • jobKey

      JobFilter jobKey(Long value)
      Filters jobs by the specified job key.
      Parameters:
      value - the key of the job
      Returns:
      the updated filter
    • jobKey

      Filters jobs by the specified job keys using BasicLongProperty consumer.
      Parameters:
      fn - the job keys BasicLongProperty consumer of the job
      Returns:
      the updated filter
    • type

      JobFilter type(String type)
      Filters jobs by the specified type.
      Parameters:
      type - the type of the job
      Returns:
      the updated filter
    • type

      Filters jobs by the specified type using StringProperty consumer.
      Parameters:
      fn - the type StringProperty consumer of the job
      Returns:
      the updated filter
    • worker

      JobFilter worker(String worker)
      Filters jobs by the specified worker.
      Parameters:
      worker - the worker of the job
      Returns:
      the updated filter
    • worker

      Filters jobs by the specified worker using StringProperty consumer.
      Parameters:
      fn - the worker StringProperty consumer of the job
      Returns:
      the updated filter
    • state

      JobFilter state(JobState state)
      Filters jobs by the specified state.
      Parameters:
      state - the state of the job
      Returns:
      the updated filter
    • state

      Filters jobs by the specified state using JobStateProperty consumer.
      Parameters:
      fn - the state JobStateProperty consumer of the job
      Returns:
      the updated filter
    • kind

      JobFilter kind(JobKind kind)
      Filters jobs by the specified kind.
      Parameters:
      kind - the kind of the job
      Returns:
      the updated filter
    • kind

      Filters jobs by the specified kind using JobKindProperty consumer.
      Parameters:
      fn - the kind JobKindProperty consumer of the job
      Returns:
      the updated filter
    • listenerEventType

      JobFilter listenerEventType(ListenerEventType listenerEventType)
      Filters jobs by the specified listener event type.
      Parameters:
      listenerEventType - the event type of the job listener
      Returns:
      the updated filter
    • listenerEventType

      Filters jobs by the specified listener event type using ListenerEventTypeProperty consumer.
      Parameters:
      fn - the listener event type ListenerEventTypeProperty consumer of the job
      Returns:
      the updated filter
    • processDefinitionId

      JobFilter processDefinitionId(String processDefinitionId)
      Filters jobs by the specified process definition id.
      Parameters:
      processDefinitionId - the id of the process definition
      Returns:
      the updated filter
    • processDefinitionId

      JobFilter processDefinitionId(Consumer<StringProperty> fn)
      Filters jobs by the specified process definition id using StringProperty consumer.
      Parameters:
      fn - the process definition id StringProperty consumer of the job
      Returns:
      the updated filter
    • processDefinitionKey

      JobFilter processDefinitionKey(Long processDefinitionKey)
      Filters jobs by the specified process definition key.
      Parameters:
      processDefinitionKey - the key of the process definition
      Returns:
      the updated filter
    • processDefinitionKey

      JobFilter processDefinitionKey(Consumer<BasicLongProperty> fn)
      Filters jobs by the specified process definition key using BasicLongProperty consumer.
      Parameters:
      fn - the process definition key BasicLongProperty consumer of the job
      Returns:
      the updated filter
    • processInstanceKey

      JobFilter processInstanceKey(Long processInstanceKey)
      Filters jobs by the specified process instance key
      Parameters:
      processInstanceKey - the key of the process instance
      Returns:
      the updated filter
    • processInstanceKey

      JobFilter processInstanceKey(Consumer<BasicLongProperty> fn)
      Filters jobs by the specified process instance key using BasicLongProperty consumer.
      Parameters:
      fn - the process instance key BasicLongProperty consumer of the job
      Returns:
      the updated filter
    • elementId

      JobFilter elementId(String elementId)
      Filters jobs by the specified element id.
      Parameters:
      elementId - the id of the element
      Returns:
      the updated filter
    • elementId

      Filters jobs by the specified element id using StringProperty consumer.
      Parameters:
      fn - the element id StringProperty consumer of the job
      Returns:
      the updated filter
    • elementInstanceKey

      JobFilter elementInstanceKey(Long elementInstanceKey)
      Filters jobs by the element instance key.
      Parameters:
      elementInstanceKey - the key of the element instance
      Returns:
      the updated filter
    • elementInstanceKey

      JobFilter elementInstanceKey(Consumer<BasicLongProperty> fn)
      Filters jobs by the element instance key using BasicLongProperty consumer.
      Parameters:
      fn - the element instance key BasicLongProperty consumer of the job
      Returns:
      the updated filter
    • tenantId

      JobFilter tenantId(String tenantId)
      Filters jobs by the specified tenant id.
      Parameters:
      tenantId - the id of the tenant
      Returns:
      the updated filter
    • tenantId

      Filters jobs by the specified tenant id using StringProperty consumer.
      Parameters:
      fn - the tenant id StringProperty consumer of the job
      Returns:
      the updated filter