Class ActivatedJobBase
java.lang.Object
io.camunda.zeebe.client.protocol.rest.ActivatedJobBase
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T11:57:41.291335755Z[GMT]",
comments="Generator version: 7.8.0")
public class ActivatedJobBase
extends Object
Base properties for ActivatedJob
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomHeaders
(Map<String, Object> customHeaders) boolean
a set of custom headers defined during modelling; returned as a serialized JSON documentwhen the job can be activated again, sent as a UNIX epoch timestampthe associated task element IDthe bpmn process ID of the job's process definitionthe version of the job's process definitionthe amount of retries left to this job (should always be positive)The ID of the tenant that owns the jobgetType()
the type of the job (should match what was requested)All variables visible to the task scope, computed at activation timethe name of the worker which activated this jobint
hashCode()
processDefinitionId
(String processDefinitionId) processDefinitionVersion
(Integer processDefinitionVersion) putCustomHeadersItem
(String key, Object customHeadersItem) putVariablesItem
(String key, Object variablesItem) void
setCustomHeaders
(Map<String, Object> customHeaders) void
setDeadline
(Long deadline) void
setElementId
(String elementId) void
setProcessDefinitionId
(String processDefinitionId) void
setProcessDefinitionVersion
(Integer processDefinitionVersion) void
setRetries
(Integer retries) void
setTenantId
(String tenantId) void
void
setVariables
(Map<String, Object> variables) void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_VERSION
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_CUSTOM_HEADERS
- See Also:
-
JSON_PROPERTY_WORKER
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_DEADLINE
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
-
Constructor Details
-
ActivatedJobBase
public ActivatedJobBase()
-
-
Method Details
-
type
-
getType
the type of the job (should match what was requested)- Returns:
- type
-
setType
-
processDefinitionId
-
getProcessDefinitionId
the bpmn process ID of the job's process definition- Returns:
- processDefinitionId
-
setProcessDefinitionId
-
processDefinitionVersion
-
getProcessDefinitionVersion
the version of the job's process definition- Returns:
- processDefinitionVersion
-
setProcessDefinitionVersion
-
elementId
-
getElementId
the associated task element ID- Returns:
- elementId
-
setElementId
-
customHeaders
-
putCustomHeadersItem
-
getCustomHeaders
a set of custom headers defined during modelling; returned as a serialized JSON document- Returns:
- customHeaders
-
setCustomHeaders
-
worker
-
getWorker
the name of the worker which activated this job- Returns:
- worker
-
setWorker
-
retries
-
getRetries
the amount of retries left to this job (should always be positive)- Returns:
- retries
-
setRetries
-
deadline
-
getDeadline
when the job can be activated again, sent as a UNIX epoch timestamp- Returns:
- deadline
-
setDeadline
-
variables
-
putVariablesItem
-
getVariables
All variables visible to the task scope, computed at activation time- Returns:
- variables
-
setVariables
-
tenantId
-
getTenantId
The ID of the tenant that owns the job- Returns:
- tenantId
-
setTenantId
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-