public class CompleteJobCommandImpl extends CommandWithPayload<CompleteJobCommandStep1> implements CompleteJobCommandStep1
objectMapper
Constructor and Description |
---|
CompleteJobCommandImpl(GatewayGrpc.GatewayStub asyncStub,
ZeebeObjectMapper objectMapper,
long key) |
Modifier and Type | Method and Description |
---|---|
ZeebeFuture<Void> |
send()
Sends the command to the Zeebe broker.
|
protected CompleteJobCommandStep1 |
setPayloadInternal(String payload) |
payload, payload, payload, payload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
payload, payload, payload, payload
public CompleteJobCommandImpl(GatewayGrpc.GatewayStub asyncStub, ZeebeObjectMapper objectMapper, long key)
public ZeebeFuture<Void> 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<Void>
protected CompleteJobCommandStep1 setPayloadInternal(String payload)
setPayloadInternal
in class CommandWithPayload<CompleteJobCommandStep1>
Copyright © 2017–2018 camunda services GmbH. All rights reserved.