Class JobFilterImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<JobFilter>
io.camunda.client.impl.search.filter.JobFilterImpl
- All Implemented Interfaces:
JobFilter,TypedFilterableRequest.SearchRequestFilter
public class JobFilterImpl
extends TypedSearchRequestPropertyProvider<JobFilter>
implements JobFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeadline(OffsetDateTime deadline) Filters jobs by the specified deadlineFilters jobs by the specified deadline usingDateTimePropertyconsumer.deniedReason(String deniedReason) Filters jobs by the specified denied reasonFilters jobs by the specified denied reason usingStringPropertyconsumer.Filters jobs by the specified element id.Filters jobs by the specified element id usingStringPropertyconsumer.elementInstanceKey(Long elementInstanceKey) Filters jobs by the element instance key.Filters jobs by the element instance key usingBasicLongPropertyconsumer.endTime(OffsetDateTime endTime) Filters jobs by the specified end timeFilters jobs by the specified end time usingDateTimePropertyconsumer.Filters jobs by the specified error codeFilters jobs by the specified error code usingStringPropertyconsumer.errorMessage(String errorMessage) Filters jobs by the specified error messageFilters jobs by the specified error message usingStringPropertyconsumer.protected JobFilterhasFailedWithRetriesLeft(Boolean hasFailedWithRetriesLeft) Filters jobs by the has failed with retries left flag.Filters jobs by the is denied flag.Filters jobs by the specified job key.Filters jobs by the specified job keys usingBasicLongPropertyconsumer.Filters jobs by the specified kind.kind(Consumer<JobKindProperty> fn) Filters jobs by the specified kind usingJobKindPropertyconsumer.listenerEventType(ListenerEventType listenerEventType) Filters jobs by the specified listener event type.Filters jobs by the specified listener event type usingListenerEventTypePropertyconsumer.processDefinitionId(String processDefinitionId) Filters jobs by the specified process definition id.Filters jobs by the specified process definition id usingStringPropertyconsumer.processDefinitionKey(Long processDefinitionKey) Filters jobs by the specified process definition key.Filters jobs by the specified process definition key usingBasicLongPropertyconsumer.processInstanceKey(Long processInstanceKey) Filters jobs by the specified process instance keyFilters jobs by the specified process instance key usingBasicLongPropertyconsumer.Filters jobs by the specified retries left.Filters jobs by the specified retries left usingIntegerPropertyconsumer.Filters jobs by the specified state.Filters jobs by the specified state usingJobStatePropertyconsumer.Filters jobs by the specified tenant id.Filters jobs by the specified tenant id usingStringPropertyconsumer.Filters jobs by the specified type.type(Consumer<StringProperty> fn) Filters jobs by the specified type usingStringPropertyconsumer.Filters jobs by the specified worker.worker(Consumer<StringProperty> fn) Filters jobs by the specified worker usingStringPropertyconsumer.Methods inherited from class io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider
provideSearchRequestProperty
-
Constructor Details
-
JobFilterImpl
public JobFilterImpl()
-
-
Method Details
-
deadline
Description copied from interface:JobFilterFilters jobs by the specified deadline -
deadline
Description copied from interface:JobFilterFilters jobs by the specified deadline usingDateTimePropertyconsumer.- Specified by:
deadlinein interfaceJobFilter- Parameters:
fn- the deadlineDateTimePropertyconsumer of the job- Returns:
- the updated filter
-
deniedReason
Description copied from interface:JobFilterFilters jobs by the specified denied reason- Specified by:
deniedReasonin interfaceJobFilter- Parameters:
deniedReason- the reason why the job was denied- Returns:
- the updated filter
-
deniedReason
Description copied from interface:JobFilterFilters jobs by the specified denied reason usingStringPropertyconsumer.- Specified by:
deniedReasonin interfaceJobFilter- Parameters:
fn- the denied reasonStringPropertyconsumer of the job- Returns:
- the updated filter
-
endTime
Description copied from interface:JobFilterFilters jobs by the specified end time -
endTime
Description copied from interface:JobFilterFilters jobs by the specified end time usingDateTimePropertyconsumer.- Specified by:
endTimein interfaceJobFilter- Parameters:
fn- the end timeDateTimePropertyconsumer of the job- Returns:
- the updated filter
-
errorCode
Description copied from interface:JobFilterFilters jobs by the specified error code -
errorCode
Description copied from interface:JobFilterFilters jobs by the specified error code usingStringPropertyconsumer.- Specified by:
errorCodein interfaceJobFilter- Parameters:
fn- the error codeStringPropertyconsumer of the job- Returns:
- the updated filter
-
errorMessage
Description copied from interface:JobFilterFilters jobs by the specified error message- Specified by:
errorMessagein interfaceJobFilter- Parameters:
errorMessage- the error message of the job- Returns:
- the updated filter
-
errorMessage
Description copied from interface:JobFilterFilters jobs by the specified error message usingStringPropertyconsumer.- Specified by:
errorMessagein interfaceJobFilter- Parameters:
fn- the error messageStringPropertyconsumer of the job- Returns:
- the updated filter
-
hasFailedWithRetriesLeft
Description copied from interface:JobFilterFilters jobs by the has failed with retries left flag.- Specified by:
hasFailedWithRetriesLeftin interfaceJobFilter- Parameters:
hasFailedWithRetriesLeft- the flag indicating if the job has failed with retries left- Returns:
- the updated filter
-
isDenied
Description copied from interface:JobFilterFilters jobs by the is denied flag. -
retries
Description copied from interface:JobFilterFilters jobs by the specified retries left. -
retries
Description copied from interface:JobFilterFilters jobs by the specified retries left usingIntegerPropertyconsumer.- Specified by:
retriesin interfaceJobFilter- Parameters:
fn- the retries leftIntegerPropertyconsumer of the job- Returns:
- the updated filter
-
jobKey
Description copied from interface:JobFilterFilters jobs by the specified job key. -
jobKey
Description copied from interface:JobFilterFilters jobs by the specified job keys usingBasicLongPropertyconsumer.- Specified by:
jobKeyin interfaceJobFilter- Parameters:
fn- the job keysBasicLongPropertyconsumer of the job- Returns:
- the updated filter
-
type
Description copied from interface:JobFilterFilters jobs by the specified type. -
type
Description copied from interface:JobFilterFilters jobs by the specified type usingStringPropertyconsumer.- Specified by:
typein interfaceJobFilter- Parameters:
fn- the typeStringPropertyconsumer of the job- Returns:
- the updated filter
-
worker
Description copied from interface:JobFilterFilters jobs by the specified worker. -
worker
Description copied from interface:JobFilterFilters jobs by the specified worker usingStringPropertyconsumer.- Specified by:
workerin interfaceJobFilter- Parameters:
fn- the workerStringPropertyconsumer of the job- Returns:
- the updated filter
-
state
Description copied from interface:JobFilterFilters jobs by the specified state. -
state
Description copied from interface:JobFilterFilters jobs by the specified state usingJobStatePropertyconsumer.- Specified by:
statein interfaceJobFilter- Parameters:
fn- the stateJobStatePropertyconsumer of the job- Returns:
- the updated filter
-
kind
Description copied from interface:JobFilterFilters jobs by the specified kind. -
kind
Description copied from interface:JobFilterFilters jobs by the specified kind usingJobKindPropertyconsumer.- Specified by:
kindin interfaceJobFilter- Parameters:
fn- the kindJobKindPropertyconsumer of the job- Returns:
- the updated filter
-
listenerEventType
Description copied from interface:JobFilterFilters jobs by the specified listener event type.- Specified by:
listenerEventTypein interfaceJobFilter- Parameters:
listenerEventType- the event type of the job listener- Returns:
- the updated filter
-
listenerEventType
Description copied from interface:JobFilterFilters jobs by the specified listener event type usingListenerEventTypePropertyconsumer.- Specified by:
listenerEventTypein interfaceJobFilter- Parameters:
fn- the listener event typeListenerEventTypePropertyconsumer of the job- Returns:
- the updated filter
-
processDefinitionId
Description copied from interface:JobFilterFilters jobs by the specified process definition id.- Specified by:
processDefinitionIdin interfaceJobFilter- Parameters:
processDefinitionId- the id of the process definition- Returns:
- the updated filter
-
processDefinitionId
Description copied from interface:JobFilterFilters jobs by the specified process definition id usingStringPropertyconsumer.- Specified by:
processDefinitionIdin interfaceJobFilter- Parameters:
fn- the process definition idStringPropertyconsumer of the job- Returns:
- the updated filter
-
processDefinitionKey
Description copied from interface:JobFilterFilters jobs by the specified process definition key.- Specified by:
processDefinitionKeyin interfaceJobFilter- Parameters:
processDefinitionKey- the key of the process definition- Returns:
- the updated filter
-
processDefinitionKey
Description copied from interface:JobFilterFilters jobs by the specified process definition key usingBasicLongPropertyconsumer.- Specified by:
processDefinitionKeyin interfaceJobFilter- Parameters:
fn- the process definition keyBasicLongPropertyconsumer of the job- Returns:
- the updated filter
-
processInstanceKey
Description copied from interface:JobFilterFilters jobs by the specified process instance key- Specified by:
processInstanceKeyin interfaceJobFilter- Parameters:
processInstanceKey- the key of the process instance- Returns:
- the updated filter
-
processInstanceKey
Description copied from interface:JobFilterFilters jobs by the specified process instance key usingBasicLongPropertyconsumer.- Specified by:
processInstanceKeyin interfaceJobFilter- Parameters:
fn- the process instance keyBasicLongPropertyconsumer of the job- Returns:
- the updated filter
-
elementId
Description copied from interface:JobFilterFilters jobs by the specified element id. -
elementId
Description copied from interface:JobFilterFilters jobs by the specified element id usingStringPropertyconsumer.- Specified by:
elementIdin interfaceJobFilter- Parameters:
fn- the element idStringPropertyconsumer of the job- Returns:
- the updated filter
-
elementInstanceKey
Description copied from interface:JobFilterFilters jobs by the element instance key.- Specified by:
elementInstanceKeyin interfaceJobFilter- Parameters:
elementInstanceKey- the key of the element instance- Returns:
- the updated filter
-
elementInstanceKey
Description copied from interface:JobFilterFilters jobs by the element instance key usingBasicLongPropertyconsumer.- Specified by:
elementInstanceKeyin interfaceJobFilter- Parameters:
fn- the element instance keyBasicLongPropertyconsumer of the job- Returns:
- the updated filter
-
tenantId
Description copied from interface:JobFilterFilters jobs by the specified tenant id. -
tenantId
Description copied from interface:JobFilterFilters jobs by the specified tenant id usingStringPropertyconsumer.- Specified by:
tenantIdin interfaceJobFilter- Parameters:
fn- the tenant idStringPropertyconsumer of the job- Returns:
- the updated filter
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<JobFilter>
-