public class ActivatedJobImpl extends Object implements ActivatedJob
Constructor and Description |
---|
ActivatedJobImpl(ZeebeObjectMapper objectMapper,
GatewayOuterClass.ActivatedJob job) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getCustomHeaders() |
java.time.Instant |
getDeadline() |
JobHeaders |
getHeaders() |
long |
getKey() |
String |
getPayload() |
Map<String,Object> |
getPayloadAsMap() |
<T> T |
getPayloadAsType(Class<T> payloadType) |
int |
getRetries() |
String |
getType() |
String |
getWorker() |
String |
toJson() |
public ActivatedJobImpl(ZeebeObjectMapper objectMapper, GatewayOuterClass.ActivatedJob job)
public long getKey()
getKey
in interface ActivatedJob
public String getType()
getType
in interface ActivatedJob
public JobHeaders getHeaders()
getHeaders
in interface ActivatedJob
public Map<String,Object> getCustomHeaders()
getCustomHeaders
in interface ActivatedJob
public String getWorker()
getWorker
in interface ActivatedJob
public int getRetries()
getRetries
in interface ActivatedJob
public java.time.Instant getDeadline()
getDeadline
in interface ActivatedJob
public String getPayload()
getPayload
in interface ActivatedJob
public Map<String,Object> getPayloadAsMap()
getPayloadAsMap
in interface ActivatedJob
public <T> T getPayloadAsType(Class<T> payloadType)
getPayloadAsType
in interface ActivatedJob
public String toJson()
toJson
in interface ActivatedJob
Copyright © 2017–2018 camunda services GmbH. All rights reserved.