Class ActivatedJob
java.lang.Object
io.camunda.zeebe.client.protocol.rest.ActivatedJob
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-28T16:53:53.401346729Z[GMT]",
comments="Generator version: 7.8.0")
public class ActivatedJob
extends Object
ActivatedJob
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomHeaders(Map<String, Object> customHeaders) elementInstanceKey(Long elementInstanceKey) booleana 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 unique key identifying the associated task, unique within the scope of the process instancethe key, a unique identifier for the jobthe bpmn process ID of the job's process definitionthe key of the job's process definitionthe version of the job's process definitionthe job's process instance keythe 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 jobinthashCode()processDefinitionId(String processDefinitionId) processDefinitionKey(Long processDefinitionKey) processDefinitionVersion(Integer processDefinitionVersion) processInstanceKey(Long processInstanceKey) putCustomHeadersItem(String key, Object customHeadersItem) putVariablesItem(String key, Object variablesItem) voidsetCustomHeaders(Map<String, Object> customHeaders) voidsetDeadline(Long deadline) voidsetElementId(String elementId) voidsetElementInstanceKey(Long elementInstanceKey) voidvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(Long processDefinitionKey) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessInstanceKey(Long processInstanceKey) voidsetRetries(Integer retries) voidsetTenantId(String tenantId) voidvoidsetVariables(Map<String, Object> variables) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_JOB_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_VERSION
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_ELEMENT_INSTANCE_KEY
- 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
-
ActivatedJob
public ActivatedJob()
-
-
Method Details
-
jobKey
-
getJobKey
the key, a unique identifier for the job- Returns:
- jobKey
-
setJobKey
-
type
-
getType
the type of the job (should match what was requested)- Returns:
- type
-
setType
-
processInstanceKey
-
getProcessInstanceKey
the job's process instance key- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
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
-
processDefinitionKey
-
getProcessDefinitionKey
the key of the job's process definition- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
elementId
-
getElementId
the associated task element ID- Returns:
- elementId
-
setElementId
-
elementInstanceKey
-
getElementInstanceKey
the unique key identifying the associated task, unique within the scope of the process instance- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
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
-