Class JobSearchRequestImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<JobSearchQuery>
io.camunda.client.impl.search.request.JobSearchRequestImpl
- All Implemented Interfaces:
FinalCommandStep<SearchResponse<Job>>,FinalSearchRequestStep<Job>,JobSearchRequest,TypedFilterableRequest<JobFilter,,JobSearchRequest> TypedPageableRequest<JobSearchRequest>,TypedSearchRequest<JobFilter,,JobSort, JobSearchRequest> TypedSortableRequest<JobSort,JobSearchRequest>
public class JobSearchRequestImpl
extends TypedSearchRequestPropertyProvider<JobSearchQuery>
implements JobSearchRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.search.request.TypedFilterableRequest
TypedFilterableRequest.SearchRequestFilterNested classes/interfaces inherited from interface io.camunda.client.api.search.request.TypedSortableRequest
TypedSortableRequest.SearchRequestSort<S extends TypedSortableRequest.SearchRequestSort<S>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the filter to be included in the search request.Provides a fluent builder to create a filter to be included in the search request.protected JobSearchQuerypage(SearchRequestPage value) Support for pagination.Provides a fluent builder to support pagination.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.send()Sends the command to the Camunda gateway.Sets the sorting the returned entities should be sorted by.Provides a fluent builder to provide sorting options the returned entities should sorted byMethods inherited from class io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider
provideSearchRequestPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute
-
Constructor Details
-
JobSearchRequestImpl
-
-
Method Details
-
requestTimeout
Description copied from interface:FinalCommandStepSets the request timeout for the command. The default request timeout can be configured usingCamundaClientBuilder.defaultRequestTimeout(Duration).- Specified by:
requestTimeoutin interfaceFinalCommandStep<SearchResponse<Job>>- Specified by:
requestTimeoutin interfaceFinalSearchRequestStep<Job>- Parameters:
requestTimeout- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStepSends the command to the Camunda gateway. This operation is asynchronous. In case of success, the future returns the event that was generated by the Camunda gateway in response to the command.Call
CamundaFuture.join()to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();- Specified by:
sendin interfaceFinalCommandStep<SearchResponse<Job>>- Returns:
- a future tracking state of success/failure of the command.
-
filter
Description copied from interface:TypedFilterableRequestSets the filter to be included in the search request. Invoking the method overrides previously set filters.- Specified by:
filterin interfaceTypedFilterableRequest<JobFilter,JobSearchRequest> - Parameters:
value- the filter- Returns:
- the builder for the search request
-
filter
Description copied from interface:TypedFilterableRequestProvides a fluent builder to create a filter to be included in the search request. Invoking the method overrides previously set filters. You can chain multiple filter criteria inside the consumer you provide for such cases.- Specified by:
filterin interfaceTypedFilterableRequest<JobFilter,JobSearchRequest> - Parameters:
fn- consumer to create the filter- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSortableRequestSets the sorting the returned entities should be sorted by.- Specified by:
sortin interfaceTypedSortableRequest<JobSort,JobSearchRequest> - Parameters:
value- the sort options- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSortableRequestProvides a fluent builder to provide sorting options the returned entities should sorted by- Specified by:
sortin interfaceTypedSortableRequest<JobSort,JobSearchRequest> - Parameters:
fn- consumer to create the sort options- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedPageableRequestSupport for pagination.- Specified by:
pagein interfaceTypedPageableRequest<JobSearchRequest>- Parameters:
value- the next page- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedPageableRequestProvides a fluent builder to support pagination.- Specified by:
pagein interfaceTypedPageableRequest<JobSearchRequest>- Parameters:
fn- consumer to support pagination- Returns:
- the builder for the search request
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<JobSearchQuery>
-