Class JobErrorStatisticsRequestImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<JobErrorStatisticsQuery>
io.camunda.client.impl.statistics.request.JobErrorStatisticsRequestImpl
- All Implemented Interfaces:
FinalCommandStep<JobErrorStatistics>,TypedFilterableRequest<JobErrorStatisticsFilter,,JobErrorStatisticsRequest> TypedPageableRequest<CursorForwardPage,,JobErrorStatisticsRequest> JobErrorStatisticsRequest
public class JobErrorStatisticsRequestImpl
extends TypedSearchRequestPropertyProvider<JobErrorStatisticsQuery>
implements JobErrorStatisticsRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.search.request.TypedFilterableRequest
TypedFilterableRequest.SearchRequestFilter -
Constructor Summary
ConstructorsConstructorDescriptionJobErrorStatisticsRequestImpl(HttpClient httpClient, JsonMapper jsonMapper, OffsetDateTime from, OffsetDateTime to, String jobType) -
Method Summary
Modifier and TypeMethodDescriptionfilter(JobErrorStatisticsFilter value) Sets 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 JobErrorStatisticsQuerypage(CursorForwardPage 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.Methods 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
-
JobErrorStatisticsRequestImpl
public JobErrorStatisticsRequestImpl(HttpClient httpClient, JsonMapper jsonMapper, OffsetDateTime from, OffsetDateTime to, String jobType)
-
-
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<JobErrorStatistics>- 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<JobErrorStatistics>- Returns:
- a future tracking state of success/failure of the command.
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<JobErrorStatisticsQuery>
-
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<JobErrorStatisticsFilter,JobErrorStatisticsRequest> - 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<JobErrorStatisticsFilter,JobErrorStatisticsRequest> - Parameters:
fn- consumer to create the filter- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedPageableRequestSupport for pagination.- Specified by:
pagein interfaceTypedPageableRequest<CursorForwardPage,JobErrorStatisticsRequest> - 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<CursorForwardPage,JobErrorStatisticsRequest> - Parameters:
fn- consumer to support pagination- Returns:
- the builder for the search request
-