Package io.camunda.service
Class ProcessInstanceServices
java.lang.Object
io.camunda.service.ApiServices<ProcessInstanceServices>
io.camunda.service.search.core.SearchQueryService<ProcessInstanceServices,ProcessInstanceQuery,ProcessInstanceEntity>
io.camunda.service.ProcessInstanceServices
public final class ProcessInstanceServices
extends SearchQueryService<ProcessInstanceServices,ProcessInstanceQuery,ProcessInstanceEntity>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
Fields inherited from class io.camunda.service.search.core.SearchQueryService
executorFields inherited from class io.camunda.service.ApiServices
authentication, brokerClient, searchClient, transformers -
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceServices(BrokerClient brokerClient, CamundaSearchClient dataStoreClient) ProcessInstanceServices(BrokerClient brokerClient, CamundaSearchClient searchClient, ServiceTransformers transformers, Authentication authentication) -
Method Summary
Modifier and TypeMethodDescriptionsearch(ProcessInstanceQuery query) withAuthentication(Authentication authentication) Methods inherited from class io.camunda.service.ApiServices
getDocumentOrEmpty, sendBrokerRequest, sendBrokerRequestWithFullResponse, withAuthentication
-
Constructor Details
-
ProcessInstanceServices
-
ProcessInstanceServices
public ProcessInstanceServices(BrokerClient brokerClient, CamundaSearchClient searchClient, ServiceTransformers transformers, Authentication authentication)
-
-
Method Details
-
withAuthentication
- Specified by:
withAuthenticationin classApiServices<ProcessInstanceServices>
-
search
- Specified by:
searchin classSearchQueryService<ProcessInstanceServices,ProcessInstanceQuery, ProcessInstanceEntity>
-
search
-
createProcessInstance
public CompletableFuture<ProcessInstanceCreationRecord> createProcessInstance(ProcessInstanceServices.ProcessInstanceCreateRequest request) -
createProcessInstanceWithResult
public CompletableFuture<ProcessInstanceResultRecord> createProcessInstanceWithResult(ProcessInstanceServices.ProcessInstanceCreateRequest request) -
cancelProcessInstance
public CompletableFuture<ProcessInstanceRecord> cancelProcessInstance(ProcessInstanceServices.ProcessInstanceCancelRequest request) -
migrateProcessInstance
public CompletableFuture<ProcessInstanceMigrationRecord> migrateProcessInstance(ProcessInstanceServices.ProcessInstanceMigrateRequest request) -
modifyProcessInstance
public CompletableFuture<ProcessInstanceModificationRecord> modifyProcessInstance(ProcessInstanceServices.ProcessInstanceModifyRequest request)
-