public class ListWorkflowsCommandImpl extends Object implements WorkflowRequestStep1
Constructor and Description |
---|
ListWorkflowsCommandImpl(GatewayGrpc.GatewayStub gatewayStub) |
Modifier and Type | Method and Description |
---|---|
WorkflowRequestStep1 |
bpmnProcessId(String bpmnProcessId)
Filter the workflows by the given BPMN process id .
|
ZeebeFuture<Workflows> |
send()
Sends the command to the Zeebe broker.
|
public ListWorkflowsCommandImpl(GatewayGrpc.GatewayStub gatewayStub)
public WorkflowRequestStep1 bpmnProcessId(String bpmnProcessId)
WorkflowRequestStep1
bpmnProcessId
in interface WorkflowRequestStep1
bpmnProcessId
- the BPMN process id of the workflowspublic ZeebeFuture<Workflows> send()
FinalCommandStep
Call ZeebeFuture.join()
to wait until the response is available.
Future<JobEvent> future = command.send(); JobEvent event = future.join();
send
in interface FinalCommandStep<Workflows>
Copyright © 2017–2018 camunda services GmbH. All rights reserved.