Package io.camunda.client.protocol.rest
Class ActivatedJobResult
java.lang.Object
io.camunda.client.protocol.rest.ActivatedJobResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) businessId(String businessId) customHeaders(Map<String, Object> customHeaders) elementInstanceKey(String elementInstanceKey) booleanThe business ID of the owning process instance, inherited when the job was created.A 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 element instance key of the task.The key, a unique identifier for the job.getKind()Get kindThe lease token identifying this activation.Get listenerEventTypeThe ID of the physical tenant that the job-activation request was routed to; the default physical tenant when the request did not specify one.The priority of 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 key of the root process instance.getTags()List of tags.The ID of the tenant that owns the job.getType()The type of the job (should match what was requested).User task properties, if the job is a user task.All variables visible to the task scope, computed at activation time.The name of the worker which activated this job.inthashCode()kind(JobKindEnum kind) leaseToken(String leaseToken) listenerEventType(JobListenerEventTypeEnum listenerEventType) physicalTenantId(String physicalTenantId) processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processDefinitionVersion(Integer processDefinitionVersion) processInstanceKey(String processInstanceKey) putCustomHeadersItem(String key, Object customHeadersItem) putVariablesItem(String key, Object variablesItem) rootProcessInstanceKey(String rootProcessInstanceKey) voidsetBusinessId(String businessId) voidsetCustomHeaders(Map<String, Object> customHeaders) voidsetDeadline(Long deadline) voidsetElementId(String elementId) voidsetElementInstanceKey(String elementInstanceKey) voidvoidsetKind(JobKindEnum kind) voidsetLeaseToken(String leaseToken) voidsetListenerEventType(JobListenerEventTypeEnum listenerEventType) voidsetPhysicalTenantId(String physicalTenantId) voidsetPriority(Integer priority) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessInstanceKey(String processInstanceKey) voidsetRetries(Integer retries) voidsetRootProcessInstanceKey(String rootProcessInstanceKey) voidvoidsetTenantId(String tenantId) voidvoidsetUserTask(UserTaskProperties userTask) voidsetVariables(Map<String, Object> variables) voidtoString()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_PHYSICAL_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:
-
JSON_PROPERTY_ROOT_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_BUSINESS_ID
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_LEASE_TOKEN
- 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
-
physicalTenantId
-
getPhysicalTenantId
The ID of the physical tenant that the job-activation request was routed to; the default physical tenant when the request did not specify one.- Returns:
- physicalTenantId
-
setPhysicalTenantId
-
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 element instance key of the task.- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
kind
-
getKind
Get kind- Returns:
- kind
-
setKind
-
listenerEventType
-
getListenerEventType
Get listenerEventType- Returns:
- listenerEventType
-
setListenerEventType
-
userTask
-
getUserTask
User task properties, if the job is a user task. This is `null` if the job is not a user task.- Returns:
- userTask
-
setUserTask
-
tags
-
addTagsItem
-
getTags
List of tags. Tags need to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.- Returns:
- tags
-
setTags
-
rootProcessInstanceKey
-
getRootProcessInstanceKey
The key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy. This field is only present for data belonging to process instance hierarchies created in version 8.9 or later.- Returns:
- rootProcessInstanceKey
-
setRootProcessInstanceKey
-
businessId
-
getBusinessId
The business ID of the owning process instance, inherited when the job was created. This is `null` for jobs created before version 8.10 and for jobs whose owning process instance has no business ID.- Returns:
- businessId
-
setBusinessId
-
priority
-
getPriority
The priority of the job. Higher values indicate higher priority. Jobs created before 8.10 have no stored priority; the API returns 0 for such jobs.- Returns:
- priority
-
setPriority
-
leaseToken
-
getLeaseToken
The lease token identifying this activation. This is `null` when the job was activated without a lease.- Returns:
- leaseToken
-
setLeaseToken
-
equals
-
hashCode
public int hashCode() -
toString
-