Package io.camunda.client.protocol.rest
Class ActivatedJobResult
java.lang.Object
io.camunda.client.protocol.rest.ActivatedJobResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-04T12:01:10.435788262Z[GMT]",
comments="Generator version: 7.12.0")
public class ActivatedJobResult
extends Object
ActivatedJobResult
-
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(String elementInstanceKey) booleanA set of custom headers defined during modelling; returned as a serialized JSON document.When the job can be activated again, sent as a UNIX epoch timestamp.The associated task element ID.The unique key identifying the associated task, unique within the scope of the process instance.The key, a unique identifier for the job.The bpmn process ID of the job's process definition.The key of the job's process definition.The version of the job's process definition.The job's process instance key.The amount of retries left to this job (should always be positive).The ID of the tenant that owns the job.getType()The type of the job (should match what was requested).All variables visible to the task scope, computed at activation time.The name of the worker which activated this job.inthashCode()processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processDefinitionVersion(Integer processDefinitionVersion) processInstanceKey(String processInstanceKey) putCustomHeadersItem(String key, Object customHeadersItem) putVariablesItem(String key, Object variablesItem) voidsetCustomHeaders(Map<String, Object> customHeaders) voidsetDeadline(Long deadline) voidsetElementId(String elementId) voidsetElementInstanceKey(String elementInstanceKey) voidvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessInstanceKey(String 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_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:
-
JSON_PROPERTY_JOB_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_ELEMENT_INSTANCE_KEY
- See Also:
-
-
Constructor Details
-
ActivatedJobResult
public ActivatedJobResult()
-
-
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
-
jobKey
-
getJobKey
The key, a unique identifier for the job.- Returns:
- jobKey
-
setJobKey
-
processInstanceKey
-
getProcessInstanceKey
The job's process instance key.- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
processDefinitionKey
-
getProcessDefinitionKey
The key of the job's process definition.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
elementInstanceKey
-
getElementInstanceKey
The unique key identifying the associated task, unique within the scope of the process instance.- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
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
-