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-10-08T19:37:20.302687113Z[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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) customHeaders(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.getKind()Get kindGet listenerEventTypeThe 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).getTags()List of tagsThe ID of the tenant that owns the job.getType()The type of the job (should match what was requested).Get userTaskAll variables visible to the task scope, computed at activation time.The name of the worker which activated this job.inthashCode()kind(JobKindEnum kind) listenerEventType(JobListenerEventTypeEnum listenerEventType) 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) voidvoidsetKind(JobKindEnum kind) voidsetListenerEventType(JobListenerEventTypeEnum listenerEventType) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessInstanceKey(String processInstanceKey) voidsetRetries(Integer retries) voidvoidsetTenantId(String tenantId) voidvoidsetUserTask(UserTaskProperties userTask) voidsetVariables(Map<String, Object> variables) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.userTask(UserTaskProperties userTask)
-
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:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_LISTENER_EVENT_TYPE
- See Also:
-
JSON_PROPERTY_USER_TASK
- See Also:
-
JSON_PROPERTY_TAGS
- 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
-
kind
-
getKind
Get kind- Returns:
- kind
-
setKind
-
listenerEventType
-
getListenerEventType
Get listenerEventType- Returns:
- listenerEventType
-
setListenerEventType
-
userTask
-
getUserTask
Get userTask- Returns:
- userTask
-
setUserTask
-
tags
-
addTagsItem
-
getTags
List of tags- Returns:
- tags
-
setTags
-
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
-