Class UserTaskQueryImpl
java.lang.Object
io.camunda.zeebe.client.impl.search.TypedSearchRequestPropertyProvider<UserTaskSearchQueryRequest>
io.camunda.zeebe.client.impl.search.query.UserTaskQueryImpl
- All Implemented Interfaces:
FinalCommandStep<SearchQueryResponse<UserTask>>
,FinalSearchQueryStep<UserTask>
,TypedSearchQueryRequest<UserTaskFilter,
,UserTaskSort, UserTaskQuery> UserTaskQuery
public class UserTaskQueryImpl
extends TypedSearchRequestPropertyProvider<UserTaskSearchQueryRequest>
implements UserTaskQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.client.api.search.query.TypedSearchQueryRequest
TypedSearchQueryRequest.SearchRequestFilter, TypedSearchQueryRequest.SearchRequestSort<S extends TypedSearchQueryRequest.SearchRequestSort<S>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(UserTaskFilter value) Sets the filter to be included in the search request.filter
(Consumer<UserTaskFilter> fn) Provides a fluent builder to create a filter to be included in the search request.protected UserTaskSearchQueryRequest
page
(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 Zeebe broker.sort
(UserTaskSort value) Sets the sorting the returned entities should be sorted by.sort
(Consumer<UserTaskSort> fn) Provides a fluent builder to provide sorting options the returned entites should sorted byMethods inherited from class io.camunda.zeebe.client.impl.search.TypedSearchRequestPropertyProvider
provideSearchRequestProperty
-
Constructor Details
-
UserTaskQueryImpl
-
-
Method Details
-
requestTimeout
Description copied from interface:FinalCommandStep
Sets the request timeout for the command. The default request timeout can be configured usingZeebeClientBuilder.defaultRequestTimeout(Duration)
.- Specified by:
requestTimeout
in interfaceFinalCommandStep<SearchQueryResponse<UserTask>>
- Specified by:
requestTimeout
in interfaceFinalSearchQueryStep<UserTask>
- Parameters:
requestTimeout
- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStep
Sends the command to the Zeebe broker. This operation is asynchronous. In case of success, the future returns the event that was generated by the Zeebe broker in response to the command.Call
ZeebeFuture.join()
to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();
- Specified by:
send
in interfaceFinalCommandStep<SearchQueryResponse<UserTask>>
- Returns:
- a future tracking state of success/failure of the command.
-
filter
Description copied from interface:TypedSearchQueryRequest
Sets the filter to be included in the search request.- Specified by:
filter
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Parameters:
value
- the filter- Returns:
- the builder for the search request
-
filter
Description copied from interface:TypedSearchQueryRequest
Provides a fluent builder to create a filter to be included in the search request.- Specified by:
filter
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchQueryRequest
Sets the sorting the returned entities should be sorted by.- Specified by:
sort
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Parameters:
value
- the sort options- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchQueryRequest
Provides a fluent builder to provide sorting options the returned entites should sorted by- Specified by:
sort
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchQueryRequest
Support for pagination.- Specified by:
page
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Parameters:
value
- the next page- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchQueryRequest
Provides a fluent builder to support pagination.- Specified by:
page
in interfaceTypedSearchQueryRequest<UserTaskFilter,
UserTaskSort, UserTaskQuery> - Returns:
- the builder for the search request
-
getSearchRequestProperty
- Specified by:
getSearchRequestProperty
in classTypedSearchRequestPropertyProvider<UserTaskSearchQueryRequest>
-