Class AdHocSubProcessActivitySearchRequestImpl
java.lang.Object
io.camunda.client.impl.search.request.AdHocSubProcessActivitySearchRequestImpl
- All Implemented Interfaces:
FinalCommandStep<AdHocSubProcessActivityResponse>,AdHocSubProcessActivitySearchRequest
public class AdHocSubProcessActivitySearchRequestImpl
extends Object
implements AdHocSubProcessActivitySearchRequest
-
Constructor Summary
ConstructorsConstructorDescriptionAdHocSubProcessActivitySearchRequestImpl(HttpClient httpClient, JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionfilter(AdHocSubProcessActivityFilter filter) 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.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.send()Sends the command to the Camunda gateway.
-
Constructor Details
-
AdHocSubProcessActivitySearchRequestImpl
-
-
Method Details
-
filter
Description copied from interface:AdHocSubProcessActivitySearchRequestSets the filter to be included in the search request.- Specified by:
filterin interfaceAdHocSubProcessActivitySearchRequest- Parameters:
filter- the filter- Returns:
- the builder for the search request
-
filter
Description copied from interface:AdHocSubProcessActivitySearchRequestProvides a fluent builder to create a filter to be included in the search request.- Specified by:
filterin interfaceAdHocSubProcessActivitySearchRequest- Parameters:
fn- consumer to create the filter- Returns:
- the builder for the search request
-
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<AdHocSubProcessActivityResponse>- 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<AdHocSubProcessActivityResponse>- Returns:
- a future tracking state of success/failure of the command.
-