Class VariableQueryImpl
java.lang.Object
io.camunda.client.impl.search.TypedSearchRequestPropertyProvider<VariableSearchQuery>
io.camunda.client.impl.search.query.VariableQueryImpl
- All Implemented Interfaces:
FinalCommandStep<SearchQueryResponse<Variable>>,FinalSearchQueryStep<Variable>,TypedSearchQueryRequest<VariableFilter,,VariableSort, VariableQuery> VariableQuery
public class VariableQueryImpl
extends TypedSearchRequestPropertyProvider<VariableSearchQuery>
implements VariableQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.search.query.TypedSearchQueryRequest
TypedSearchQueryRequest.SearchRequestFilter, TypedSearchQueryRequest.SearchRequestSort<S extends TypedSearchQueryRequest.SearchRequestSort<S>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(VariableFilter value) Sets the filter to be included in the search request.filter(Consumer<VariableFilter> fn) Provides a fluent builder to create a filter to be included in the search request.protected VariableSearchQuerypage(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.sort(VariableSort value) Sets the sorting the returned entities should be sorted by.sort(Consumer<VariableSort> fn) Provides a fluent builder to provide sorting options the returned entites should sorted byMethods inherited from class io.camunda.client.impl.search.TypedSearchRequestPropertyProvider
provideSearchRequestProperty
-
Constructor Details
-
VariableQueryImpl
-
-
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<SearchQueryResponse<Variable>>- Specified by:
requestTimeoutin interfaceFinalSearchQueryStep<Variable>- 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<SearchQueryResponse<Variable>>- Returns:
- a future tracking state of success/failure of the command.
-
filter
Description copied from interface:TypedSearchQueryRequestSets the filter to be included in the search request.- Specified by:
filterin interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Parameters:
value- the filter- Returns:
- the builder for the search request
-
filter
Description copied from interface:TypedSearchQueryRequestProvides a fluent builder to create a filter to be included in the search request.- Specified by:
filterin interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchQueryRequestSets the sorting the returned entities should be sorted by.- Specified by:
sortin interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Parameters:
value- the sort options- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchQueryRequestProvides a fluent builder to provide sorting options the returned entites should sorted by- Specified by:
sortin interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchQueryRequestSupport for pagination.- Specified by:
pagein interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Parameters:
value- the next page- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchQueryRequestProvides a fluent builder to support pagination.- Specified by:
pagein interfaceTypedSearchQueryRequest<VariableFilter,VariableSort, VariableQuery> - Returns:
- the builder for the search request
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<VariableSearchQuery>
-